mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-27 06:32:27 +00:00
Remove redundant setenv() call
The version which overwrites existing envvars is just below.
This commit is contained in:
parent
5a9c2006ff
commit
90bd14564f
1 changed files with 0 additions and 2 deletions
|
@ -270,8 +270,6 @@ int main(int argc, char **argv) {
|
|||
path_argv[0] = 0;
|
||||
}
|
||||
|
||||
setlocale(LC_ALL, "C");
|
||||
|
||||
// some ladspa-plugins (that may be indirectly loaded by doom3 if they're
|
||||
// used by alsa) call setlocale(LC_ALL, ""); This sets LC_ALL to $LANG or
|
||||
// $LC_ALL which usually is not "C" and will fuck up scanf, strtod
|
||||
|
|
Loading…
Reference in a new issue