Fix windows compile error

This commit is contained in:
Phillip Stephens 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

@ -1 +1 @@
Subproject commit 767d2a471138dfa7f68e3254fdb942151b02cb78 Subproject commit 5d797e53ecffbbf2e612bc0e21eed2c495985ca0