[Mplayer-cvslog] CVS: main/Gui/mplayer/gtk fs.c,1.2,1.3

pl pl at mplayer.dev.hu
Sun Nov 18 23:15:26 CET 2001


Update of /cvsroot/mplayer/main/Gui/mplayer/gtk
In directory mplayer:/var/tmp.root/cvs-serv19034/Gui/mplayer/gtk

Modified Files:
	fs.c 
Log Message:
size of array was incorrect


Index: fs.c
===================================================================
RCS file: /cvsroot/mplayer/main/Gui/mplayer/gtk/fs.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- fs.c	18 Nov 2001 18:17:04 -0000	1.2
+++ fs.c	18 Nov 2001 22:15:24 -0000	1.3
@@ -35,8 +35,8 @@
 gchar         * fsFilter = NULL;
 
 int             fsPressed = 0;
-int             fsLastFilterNames = 4;
-unsigned char * fsFilterNames[3][2] = { { "MPEG files( *.mpg )", "*.mpg" },
+#define fsLastFilterNames 4
+unsigned char * fsFilterNames[fsLastFilterNames+1][2] = { { "MPEG files( *.mpg )", "*.mpg" },
 					{ "VOB files( *.vob )", "*.vob"  },
                                         { "AVI files( *.avi )",  "*.avi" },
 					{ "VIVO files( *.viv )", "*.viv" },




More information about the MPlayer-cvslog mailing list