fixed : config file use . as decimal separator even when LOCALE is different

git-svn-id: http://tint2.googlecode.com/svn/trunk@445 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
This commit is contained in:
thilor77
2010-05-04 20:15:46 +00:00
parent 721ed289ba
commit 1eed78c206
2 changed files with 7 additions and 4 deletions

View File

@@ -130,6 +130,8 @@ void init_X11()
XSelectInput (server.dsp, server.root_win, PropertyChangeMask|StructureNotifyMask);
setlocale (LC_ALL, "");
// config file use '.' as decimal separator
setlocale(LC_NUMERIC, "POSIX");
// load default icon
gchar *path;