소스 검색

fix : don't use LC_ALL (affects numeric printing)

Nicolas Cannasse 8 년 전
부모
커밋
f6ab7fcde5
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/main.c

+ 1 - 1
src/main.c

@@ -137,7 +137,7 @@ int main(int argc, pchar *argv[]) {
 	exit(1);
 #	endif
 #	ifdef HL_WIN
-	setlocale(LC_ALL,"");
+	setlocale(LC_CTYPE,""); // printf to current locale
 #	endif
 	hl_global_init(&ctx);
 	hl_sys_init((void**)argv,argc,file);