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:
Daniel Gibson 2012-04-28 19:39:36 +00:00
parent 669a78de12
commit 632bd0a776

View file

@ -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");