From f75c452f6aa768bd2aeedfc6d5b1049919f31c29 Mon Sep 17 00:00:00 2001 From: pl Date: Sun, 18 Nov 2001 22:15:24 +0000 Subject: [PATCH] size of array was incorrect git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2987 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/gtk/fs.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Gui/mplayer/gtk/fs.c b/Gui/mplayer/gtk/fs.c index 6151f9f9a5..ab54767857 100644 --- a/Gui/mplayer/gtk/fs.c +++ b/Gui/mplayer/gtk/fs.c @@ -35,8 +35,8 @@ unsigned char * fsThatDir = "."; 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" },