Hi,

Am Mittwoch, 4. Oktober 2017 10:05:34 UTC+2 schrieb Guy Rutenberg:
>
>
> Does also setlocale work, or have it to be wxSetLocale? (setlocale works 
>> here on Windows without the side effects of wxSetlocale).
>>
>>
> `setlocale` works just as well. If I understand the #if's correctly, the 
> line I've edited would not affect Windows at all (as __WXMSW__ is not 
> defined).
>

I know. But there is already for Windows 
#if defined _MSC_VER 
    setlocale(LC_NUMERIC, "");
#endif
in the code. If one call is sufficient for both OS we can get rid of the 
conditional compilation and only maintain a single call.

I committed the fix to the repository.

-- 
A list of frequently asked questions is available at: 
http://wiki.panotools.org/Hugin_FAQ
--- 
You received this message because you are subscribed to the Google Groups 
"hugin and other free panoramic software" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/hugin-ptx/79178181-cf23-44c9-bcb3-0852fb364364%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to