From c8c592dd9978e3a4c854994574b51b005a8d1861 Mon Sep 17 00:00:00 2001 From: jkeil Date: Fri, 13 Sep 2002 20:00:20 +0000 Subject: Can't return pointer to automatic C array, gmplayer file selector box does not show video files; use a static string instead. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@7388 b3059339-0415-0410-9bf9-f77b7e298cf2 --- Gui/mplayer/gtk/fs.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Gui') diff --git a/Gui/mplayer/gtk/fs.c b/Gui/mplayer/gtk/fs.c index 725c1f8309..d7c6629d88 100644 --- a/Gui/mplayer/gtk/fs.c +++ b/Gui/mplayer/gtk/fs.c @@ -121,7 +121,7 @@ GdkBitmap * fmask; static char * Filter( char * name ) { - char tmp[32]; + static char tmp[32]; int i,c; for ( i=0,c=0;i < strlen( name );i++ ) { -- cgit v1.2.3