summaryrefslogtreecommitdiffstats
path: root/Gui
diff options
context:
space:
mode:
Diffstat (limited to 'Gui')
-rw-r--r--Gui/cfg.c20
1 files changed, 0 insertions, 20 deletions
diff --git a/Gui/cfg.c b/Gui/cfg.c
index 104b64bab8..b24124739d 100644
--- a/Gui/cfg.c
+++ b/Gui/cfg.c
@@ -10,10 +10,6 @@
#include "../m_config.h"
#include "../m_option.h"
-#ifdef USE_SETLOCALE
-#include <locale.h>
-#endif
-
#include "../../libvo/video_out.h"
#include "cfg.h"
@@ -208,10 +204,6 @@ int cfg_read( void )
char * cfg = get_path( "gui.conf" );
FILE * f;
-#ifdef USE_SETLOCALE
- setlocale( LC_ALL,"C" );
-#endif
-
// -- read configuration
mp_msg( MSGT_GPLAYER,MSGL_V,"[cfg] reading config file: %s\n",cfg );
gui_conf=m_config_new();
@@ -272,10 +264,6 @@ int cfg_read( void )
}
free( cfg );
-#ifdef USE_SETLOCALE
- setlocale( LC_ALL,"" );
-#endif
-
return 0;
}
@@ -285,10 +273,6 @@ int cfg_write( void )
FILE * f;
int i;
-#ifdef USE_SETLOCALE
- setlocale( LC_ALL,"C" );
-#endif
-
// -- save configuration
if ( (f=fopen( cfg,"wt+" )) )
{
@@ -348,10 +332,6 @@ int cfg_write( void )
}
free( cfg );
-#ifdef USE_SETLOCALE
- setlocale( LC_ALL,"" );
-#endif
-
return 0;
}