mirror of
https://github.com/yquake2/yquake2remaster.git
synced 2025-04-11 20:51:37 +00:00
Enforce "C" lokale, this time correctly
Now when some braindead alsa/ladspa plugin calls setlocale(LC_ALL, "") the locale is (still) set to "C" and not some other locale that may fsck up printf and scanf formats
This commit is contained in:
parent
669a78de12
commit
632bd0a776
1 changed files with 1 additions and 1 deletions
|
@ -50,7 +50,7 @@ main ( int argc, char **argv )
|
|||
seteuid( getuid() );
|
||||
|
||||
/* enforce C locale */
|
||||
setlocale(LC_ALL, "C");
|
||||
setenv("LC_ALL", "C", 1);
|
||||
|
||||
printf( "\nYamagi Quake II v%4.2f\n", VERSION);
|
||||
printf( "=====================\n\n");
|
||||
|
|
Loading…
Reference in a new issue