Restored setlocale

This commit is contained in:
Michiel Broek 2007-03-02 18:13:10 +00:00
parent c7e5aefe17
commit 501ed89a2f

View File

@ -466,6 +466,9 @@ void user(void)
Chg_Charset(); Chg_Charset();
} }
setlocale(LC_CTYPE, getlocale(exitinfo.Charset));
Syslog('b', "setlocale(LC_CTYPE, NULL) returns \"%s\"", printable(setlocale(LC_CTYPE, NULL), 0));
GetLastUser(); GetLastUser();
StartTime = xstrcpy(GetLocalHM()); StartTime = xstrcpy(GetLocalHM());
ChangeHomeDir(exitinfo.Name, exitinfo.Email); ChangeHomeDir(exitinfo.Name, exitinfo.Email);