[MPlayer-cvslog] r33872 - in trunk/gui/win32: skinload.c skinload.h

ib subversion at mplayerhq.hu
Mon Jul 11 13:19:44 CEST 2011


Author: ib
Date: Mon Jul 11 13:19:44 2011
New Revision: 33872

Log:
Change fname parameter to const in pngRead().

Modified:
   trunk/gui/win32/skinload.c
   trunk/gui/win32/skinload.h

Modified: trunk/gui/win32/skinload.c
==============================================================================
--- trunk/gui/win32/skinload.c	Mon Jul 11 13:10:06 2011	(r33871)
+++ trunk/gui/win32/skinload.c	Mon Jul 11 13:19:44 2011	(r33872)
@@ -106,7 +106,7 @@ static char *geteventname(int event)
 }
 
 /* reads a complete image as is into image buffer */
-static image *pngRead(skin_t *skin, unsigned char *fname)
+static image *pngRead(skin_t *skin, const char *fname)
 {
     int i;
     guiImage bmp;

Modified: trunk/gui/win32/skinload.h
==============================================================================
--- trunk/gui/win32/skinload.h	Mon Jul 11 13:10:06 2011	(r33871)
+++ trunk/gui/win32/skinload.h	Mon Jul 11 13:19:44 2011	(r33872)
@@ -107,7 +107,7 @@ struct skin_t
     void (*addwidget)(skin_t *skin, window *win, const char *desc);
     void (*removewidget)(skin_t *skin, int id);
     char *(*geteventname)(int event);
-    image *(*pngRead)(skin_t *skin, unsigned char *fname);
+    image *(*pngRead)(skin_t *skin, const char *fname);
 };
 
 skin_t *loadskin(char *skindir, int desktopbpp);


More information about the MPlayer-cvslog mailing list