mirror of
https://github.com/mpv-player/mpv
synced 2024-10-30 04:46:41 +01:00
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
This commit is contained in:
parent
c7eafc3610
commit
c8c592dd99
@ -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++ )
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user