Skip to content

Commit 5370fc2

Browse files
committed
Locale fix for Windows
1 parent 41654ef commit 5370fc2

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

examples/common.cpp

+2-1
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)