summaryrefslogtreecommitdiffstats
path: root/Gui/cfg.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/cfg.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/cfg.c')
-rw-r--r--Gui/cfg.c10
1 files changed, 9 insertions, 1 deletions
diff --git a/Gui/cfg.c b/Gui/cfg.c
index bd5b0e598c..86cce3d7e5 100644
--- a/Gui/cfg.c
+++ b/Gui/cfg.c
@@ -8,6 +8,10 @@
#include "../mplayer.h"
#include "../cfgparser.h"
+#ifdef USE_I18N
+#include <locale.h>
+#endif
+
#include "../../libvo/video_out.h"
#include "cfg.h"
@@ -104,7 +108,7 @@ static config_t gui_opts[] =
{ "equ_channel_6",&gtkEquChannel6,CONF_TYPE_STRING,0,0,0,NULL },
#if 1
-#define audio_equ_row( i,j ) { "equ_band_"#i#j,&gtkEquChannels[i][j],CONF_TYPE_FLOAT,CONF_RANGE,-5.0,5.0,NULL },
+#define audio_equ_row( i,j ) { "equ_band_"#i#j,&gtkEquChannels[i][j],CONF_TYPE_FLOAT,CONF_RANGE,-15.0,15.0,NULL },
audio_equ_row( 0,0 ) audio_equ_row( 0,1 ) audio_equ_row( 0,2 ) audio_equ_row( 0,3 ) audio_equ_row( 0,4 ) audio_equ_row( 0,5 ) audio_equ_row( 0,6 ) audio_equ_row( 0,7 ) audio_equ_row( 0,8 ) audio_equ_row( 0,9 )
audio_equ_row( 1,0 ) audio_equ_row( 1,1 ) audio_equ_row( 1,2 ) audio_equ_row( 1,3 ) audio_equ_row( 1,4 ) audio_equ_row( 1,5 ) audio_equ_row( 1,6 ) audio_equ_row( 1,7 ) audio_equ_row( 1,8 ) audio_equ_row( 1,9 )
audio_equ_row( 2,0 ) audio_equ_row( 2,1 ) audio_equ_row( 2,2 ) audio_equ_row( 2,3 ) audio_equ_row( 2,4 ) audio_equ_row( 2,5 ) audio_equ_row( 2,6 ) audio_equ_row( 2,7 ) audio_equ_row( 2,8 ) audio_equ_row( 2,9 )
@@ -162,6 +166,10 @@ int cfg_write( void )
FILE * f;
int i;
+#ifdef USE_I18N
+ setlocale( LC_ALL,"" );
+#endif
+
// -- save configuration
if ( (f=fopen( cfg,"wt+" )) )
{