Skip to content

Commit

Permalink
[win] debug for xp
Browse files Browse the repository at this point in the history
  • Loading branch information
SimplestStudio committed Feb 19, 2024
1 parent 4c5975f commit fab2520
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions win-linux/src/clangater.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -49,9 +49,9 @@ void setNativeUILanguage(std::wstring localeTag)
if (lcid != 0)
InitMUILanguage(LANGIDFROMLCID(lcid));
#else
LCID lcid = LocaleNameToLCID(localeTag.c_str(), 0);
if (lcid != 0 && IsValidLocale(lcid, LCID_INSTALLED) != 0)
SetThreadUILanguage(LANGIDFROMLCID(lcid));
// LCID lcid = LocaleNameToLCID(localeTag.c_str(), 0);
// if (lcid != 0 && IsValidLocale(lcid, LCID_INSTALLED) != 0)
// SetThreadUILanguage(LANGIDFROMLCID(lcid));
#endif
}
#endif
Expand Down

0 comments on commit fab2520

Please sign in to comment.