mirror of
https://github.com/SoftFever/OrcaSlicer.git
synced 2025-07-22 22:24:01 -06:00
Fixed locales switching on macOS
This commit is contained in:
parent
8da083b702
commit
ffc0e36570
1 changed files with 1 additions and 0 deletions
|
@ -19,6 +19,7 @@ CNumericLocalesSetter::CNumericLocalesSetter()
|
|||
#else // APPLE
|
||||
m_original_locale = uselocale((locale_t)0);
|
||||
m_new_locale = newlocale(LC_NUMERIC_MASK, "C", m_original_locale);
|
||||
uselocale(m_new_locale);
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue