summaryrefslogtreecommitdiffstats
path: root/Gui/mplayer/gtk/fs.c
diff options
context:
space:
mode:
authorpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-30 11:50:20 +0000
committerpontscho <pontscho@b3059339-0415-0410-9bf9-f77b7e298cf2>2002-07-30 11:50:20 +0000
commit51165d44ef5f5398355a2768eaca0bc538599717 (patch)
tree7eb574c23f5714795164c81f7e836cbc94bf87ec /Gui/mplayer/gtk/fs.c
parente1ef3196ecd75c42009f7918816891fb13207171 (diff)
downloadmpv-51165d44ef5f5398355a2768eaca0bc538599717.tar.bz2
mpv-51165d44ef5f5398355a2768eaca0bc538599717.tar.xz
- some cosmetic change in preferences
- add *.wav to file selector - fix setlocale() bug git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6841 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'Gui/mplayer/gtk/fs.c')
-rw-r--r--Gui/mplayer/gtk/fs.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/Gui/mplayer/gtk/fs.c b/Gui/mplayer/gtk/fs.c
index 9d6c05188e..702e69a872 100644
--- a/Gui/mplayer/gtk/fs.c
+++ b/Gui/mplayer/gtk/fs.c
@@ -49,7 +49,7 @@ char * fsVideoFilterNames[fsNumberOfVideoFilterNames+1][2] =
{ "ASF files (*.asf)", "*.asf" },
{ "VIVO files (*.viv)", "*.viv" },
{ "Windows Media Video (*.wmv)", "*.wmv" },
- { "Audio files (*.mp2,*.mp3,*.wma)", "*.mp2,*.mp3,*.wma" },
+ { "Audio files (*.wav,*.mp2,*.mp3,*.wma)", "*.wav,*.mp2,*.mp3,*.wma" },
{ "Video files (*.mpg,*.mpeg,*.vob,*.avi,*.mov,*.asf,*.viv,*.wmv)", "*.mpg,*.mpeg,*.vob,*.avi,*.mov,*.asf,*.viv,*.wmv" },
{ "All files (*)", "*" } };
@@ -424,8 +424,8 @@ void fs_Ok_released( GtkButton * button,gpointer user_data )
guiSetDF( guiIntfStruct.Filename,fsSelectedDirectory,fsSelectedFile );
guiIntfStruct.StreamType=STREAMTYPE_FILE;
guiIntfStruct.FilenameChanged=1;
- gfree( &guiIntfStruct.AudioFile );
- gfree( &guiIntfStruct.Subtitlename );
+ gfree( (void **)&guiIntfStruct.AudioFile );
+ gfree( (void **)&guiIntfStruct.Subtitlename );
break;
case fsSubtitleSelector:
guiSetDF( guiIntfStruct.Subtitlename,fsSelectedDirectory,fsSelectedFile );