On Friday, October 12, 2007, 5:01:53 PM, Dennis Schridde wrote:
> Am Freitag, 12. Oktober 2007 16:33:09 schrieb Roman:
>> Author: troman
>> Date: Fri Oct 12 16:33:08 2007
>> New Revision: 2546
>> URL: http://svn.gna.org/viewcvs/warzone?rev=2546&view=rev
>> Log:
>> - set LC_NUMERIC in the setlocale() call to accept a period as a radix for
>> floating point numbers instead of a comma - replaced setlocale(LC_ALL, "")
>> with setlocale(LC_MESSAGES, ""), as suggested by Devurandom
> When you only set LC_MESSAGES and nothing else it did not work?
> Since the way it is now, everything should be C, but LC_MESSAGES, which
> should
> have the environment value. So you wouldn't need to set LC_NUMERIC
> explicitly...
> --Dennis
No, this would do exactly the opposite of what is needed.
Since LC_MESSAGES is assigned a value of 0 for some reason, it works like
LC_ALL. And setting LC_ALL to the environmental settings is exactly what should
be avoided.
--
Best regards,
Roman mailto:[EMAIL PROTECTED]
_______________________________________________
Warzone-dev mailing list
[email protected]
https://mail.gna.org/listinfo/warzone-dev