Locale fix for Windows (#1379)

This commit is contained in:
DannyDaemonic 2023-05-09 10:53:28 -07:00 committed by GitHub
parent 9f8dbc4787
commit e6a46b0ed1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -520,8 +520,9 @@ void console_init(console_state & con_st) {
if (con_st.tty != nullptr) {
con_st.out = con_st.tty;
}
#endif
setlocale(LC_ALL, "");
#endif
}
void console_cleanup(console_state & con_st) {