[Project64] Get wGS to be windows only
This commit is contained in:
parent
51cc15687d
commit
30841d5e31
|
@ -723,7 +723,9 @@ bool CLanguage::IsCurrentLang(LanguageFile & File)
|
|||
return false;
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
const std::wstring wGS(LanguageStringID StringID)
|
||||
{
|
||||
return stdstr(g_Lang->GetString(StringID)).ToUTF16();
|
||||
}
|
||||
}
|
||||
#endif
|
||||
|
|
|
@ -58,9 +58,11 @@ private:
|
|||
|
||||
extern CLanguage * g_Lang;
|
||||
|
||||
const std::wstring wGS(LanguageStringID StringID);
|
||||
|
||||
inline const char * GS(LanguageStringID StringID)
|
||||
{
|
||||
return g_Lang->GetString(StringID).c_str();
|
||||
}
|
||||
|
||||
#ifdef _WIN32
|
||||
const std::wstring wGS(LanguageStringID StringID);
|
||||
#endif
|
||||
|
|
Loading…
Reference in New Issue