changeset 2986:8b68fbffe509

size of array was incorrect
author pl
date Sun, 18 Nov 2001 22:15:24 +0000
parents 44e4572d5673
children 669fd46ac0d0
files Gui/mplayer/gtk/fs.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/fs.c	Sun Nov 18 21:59:20 2001 +0000
+++ b/Gui/mplayer/gtk/fs.c	Sun Nov 18 22:15:24 2001 +0000
@@ -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" },