mirror of https://github.com/AxioDL/metaforce.git
Fix windows compile error
This commit is contained in:
parent
7a60151d3e
commit
9f3b979970
|
@ -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
|
||||||
|
|
|
@ -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
2
hecl
|
@ -1 +1 @@
|
||||||
Subproject commit 767d2a471138dfa7f68e3254fdb942151b02cb78
|
Subproject commit 5d797e53ecffbbf2e612bc0e21eed2c495985ca0
|
Loading…
Reference in New Issue