diff --git a/winixd/templates/locale.h b/winixd/templates/locale.h index 7740fa7..dac7eaa 100644 --- a/winixd/templates/locale.h +++ b/winixd/templates/locale.h @@ -265,7 +265,7 @@ template bool Locale::IsKey(const pt::TextStreamBase & key, bool try_default_too) { - key.to_string(key_str); + key.to_str(key_str); return IsKey(key_str, try_default_too); } @@ -274,7 +274,7 @@ template bool Locale::IsKey(const pt::TextStreamBase & key, size_t lang_id, bool try_default_too) { - key.to_string(key_str); + key.to_str(key_str); return IsKey(key_str, lang_id, try_default_too); } @@ -284,7 +284,7 @@ template const std::wstring & Locale::Get(const pt::TextStreamBase & key, bool try_default_too) { - key.to_string(key_str); + key.to_str(key_str); return Get(key_str, try_default_too); }