diff options
author | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-18 22:15:24 +0000 |
---|---|---|
committer | pl <pl@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-11-18 22:15:24 +0000 |
commit | f75c452f6aa768bd2aeedfc6d5b1049919f31c29 (patch) | |
tree | ab9d150bb56f530395feb195d5f14f0e940e60c3 | |
parent | 24bee95088e9458e954833dad66ca58a7a4d11e2 (diff) |
size of array was incorrect
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2987 b3059339-0415-0410-9bf9-f77b7e298cf2
-rw-r--r-- | Gui/mplayer/gtk/fs.c | 4 |
1 files 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" }, |