Skip to content

Commit e6a46b0

Browse files
Locale fix for Windows (#1379)
1 parent 9f8dbc4 commit e6a46b0

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/common.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -520,8 +520,9 @@ void console_init(console_state & con_st) {
520520
if (con_st.tty != nullptr) {
521521
con_st.out = con_st.tty;
522522
}
523-
#endif
523+
524524
setlocale(LC_ALL, "");
525+
#endif
525526
}
526527

527528
void console_cleanup(console_state & con_st) {

0 commit comments

Comments
 (0)