Commit dd96a75a authored by mercury233's avatar mercury233

update

parent 49074730
...@@ -24,11 +24,11 @@ void ClickButton(irr::gui::IGUIElement* btn) { ...@@ -24,11 +24,11 @@ void ClickButton(irr::gui::IGUIElement* btn) {
int main(int argc, char* argv[]) { int main(int argc, char* argv[]) {
#if defined(FOPEN_WINDOWS_SUPPORT_UTF8) #if defined(FOPEN_WINDOWS_SUPPORT_UTF8)
setlocale(LC_CTYPE, ".UTF-8"); std::setlocale(LC_CTYPE, ".UTF-8");
#elif defined(__APPLE__) #elif defined(__APPLE__)
setlocale(LC_CTYPE, "C.UTF-8"); std::setlocale(LC_CTYPE, "C.UTF-8");
#elif !defined(_WIN32) #elif !defined(_WIN32)
setlocale(LC_CTYPE, ""); std::setlocale(LC_CTYPE, "");
#endif #endif
#ifdef __APPLE__ #ifdef __APPLE__
CFURLRef bundle_url = CFBundleCopyBundleURL(CFBundleGetMainBundle()); CFURLRef bundle_url = CFBundleCopyBundleURL(CFBundleGetMainBundle());
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment