Fix Linux build and locale

This commit is contained in:
Reonu
2024-04-25 15:51:04 +01:00
parent ac2150b0fa
commit c4b89613ab
3 changed files with 4 additions and 2 deletions
-2
View File
@@ -293,8 +293,6 @@ int main(int argc, char** argv) {
cfi.FontWeight = FW_NORMAL;
wcscpy_s(cfi.FaceName, L"NSimSun");
SetCurrentConsoleFontEx(GetStdHandle(STD_OUTPUT_HANDLE), FALSE, &cfi);
#else
std::setlocale(LC_ALL, "en_US.UTF-8");
#endif
//printf("Current dir: %ls\n", std::filesystem::current_path().c_str());