mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-05-19 11:23:42 +00:00
Fixed locales switching on macOS
This commit is contained in:
@@ -19,6 +19,7 @@ CNumericLocalesSetter::CNumericLocalesSetter()
|
|||||||
#else // APPLE
|
#else // APPLE
|
||||||
m_original_locale = uselocale((locale_t)0);
|
m_original_locale = uselocale((locale_t)0);
|
||||||
m_new_locale = newlocale(LC_NUMERIC_MASK, "C", m_original_locale);
|
m_new_locale = newlocale(LC_NUMERIC_MASK, "C", m_original_locale);
|
||||||
|
uselocale(m_new_locale);
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user