changeset 7387:072a85aa31c6

Can't return pointer to automatic C array, gmplayer file selector box does not show video files; use a static string instead.
author jkeil
date Fri, 13 Sep 2002 20:00:20 +0000
parents 174e2a58b4cd
children 2c35b856cf73
files Gui/mplayer/gtk/fs.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Gui/mplayer/gtk/fs.c	Fri Sep 13 19:43:17 2002 +0000
+++ b/Gui/mplayer/gtk/fs.c	Fri Sep 13 20:00:20 2002 +0000
@@ -121,7 +121,7 @@
 
 static char * Filter( char * name )
 {
- char tmp[32];
+ static char tmp[32];
  int  i,c;
  for ( i=0,c=0;i < strlen( name );i++ )
   {