2
0
mirror of https://github.com/AxioDL/metaforce.git synced 2025-12-08 22:27:43 +00:00

Fix windows compile error

This commit is contained in:
2017-01-23 23:59:32 -08:00
parent 7a60151d3e
commit 9f3b979970
3 changed files with 3 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ struct STRG : ISTRG
auto search = langMap.find(lang); auto search = langMap.find(lang);
if (search != langMap.end()) if (search != langMap.end())
#if HECL_UCS2 #if HECL_UCS2
return search->second->at(idx); return hecl::Char16ToWide(search->second->at(idx));
#else #else
return hecl::Char16ToUTF8(search->second->at(idx)); return hecl::Char16ToUTF8(search->second->at(idx));
#endif #endif

View File

@@ -57,7 +57,7 @@ struct STRG : ISTRG
auto search = langMap.find(lang); auto search = langMap.find(lang);
if (search != langMap.end()) if (search != langMap.end())
#if HECL_UCS2 #if HECL_UCS2
return search->second->at(idx); return hecl::Char16ToWide(search->second->at(idx));
#else #else
return hecl::Char16ToUTF8(search->second->at(idx)); return hecl::Char16ToUTF8(search->second->at(idx));
#endif #endif

2
hecl

Submodule hecl updated: 767d2a4711...5d797e53ec