diff options
Diffstat (limited to 'src/common/Utilities/Util.cpp')
-rw-r--r-- | src/common/Utilities/Util.cpp | 32 |
1 files changed, 16 insertions, 16 deletions
diff --git a/src/common/Utilities/Util.cpp b/src/common/Utilities/Util.cpp index ad98bd5e491..4406dc673e0 100644 --- a/src/common/Utilities/Util.cpp +++ b/src/common/Utilities/Util.cpp @@ -655,22 +655,22 @@ std::wstring GetMainPartOfName(std::wstring const& wname, uint32 declension) return wname; // Important: end length must be <= MAX_INTERNAL_PLAYER_NAME-MAX_PLAYER_NAME (3 currently) - static std::wstring const a_End = { wchar_t(0x0430), wchar_t(0x0000) }; - static std::wstring const o_End = { wchar_t(0x043E), wchar_t(0x0000) }; - static std::wstring const ya_End = { wchar_t(0x044F), wchar_t(0x0000) }; - static std::wstring const ie_End = { wchar_t(0x0435), wchar_t(0x0000) }; - static std::wstring const i_End = { wchar_t(0x0438), wchar_t(0x0000) }; - static std::wstring const yeru_End = { wchar_t(0x044B), wchar_t(0x0000) }; - static std::wstring const u_End = { wchar_t(0x0443), wchar_t(0x0000) }; - static std::wstring const yu_End = { wchar_t(0x044E), wchar_t(0x0000) }; - static std::wstring const oj_End = { wchar_t(0x043E), wchar_t(0x0439), wchar_t(0x0000) }; - static std::wstring const ie_j_End = { wchar_t(0x0435), wchar_t(0x0439), wchar_t(0x0000) }; - static std::wstring const io_j_End = { wchar_t(0x0451), wchar_t(0x0439), wchar_t(0x0000) }; - static std::wstring const o_m_End = { wchar_t(0x043E), wchar_t(0x043C), wchar_t(0x0000) }; - static std::wstring const io_m_End = { wchar_t(0x0451), wchar_t(0x043C), wchar_t(0x0000) }; - static std::wstring const ie_m_End = { wchar_t(0x0435), wchar_t(0x043C), wchar_t(0x0000) }; - static std::wstring const soft_End = { wchar_t(0x044C), wchar_t(0x0000) }; - static std::wstring const j_End = { wchar_t(0x0439), wchar_t(0x0000) }; + static std::wstring const a_End = { wchar_t(0x0430) }; + static std::wstring const o_End = { wchar_t(0x043E) }; + static std::wstring const ya_End = { wchar_t(0x044F) }; + static std::wstring const ie_End = { wchar_t(0x0435) }; + static std::wstring const i_End = { wchar_t(0x0438) }; + static std::wstring const yeru_End = { wchar_t(0x044B) }; + static std::wstring const u_End = { wchar_t(0x0443) }; + static std::wstring const yu_End = { wchar_t(0x044E) }; + static std::wstring const oj_End = { wchar_t(0x043E), wchar_t(0x0439) }; + static std::wstring const ie_j_End = { wchar_t(0x0435), wchar_t(0x0439) }; + static std::wstring const io_j_End = { wchar_t(0x0451), wchar_t(0x0439) }; + static std::wstring const o_m_End = { wchar_t(0x043E), wchar_t(0x043C) }; + static std::wstring const io_m_End = { wchar_t(0x0451), wchar_t(0x043C) }; + static std::wstring const ie_m_End = { wchar_t(0x0435), wchar_t(0x043C) }; + static std::wstring const soft_End = { wchar_t(0x044C) }; + static std::wstring const j_End = { wchar_t(0x0439) }; static std::array<std::array<std::wstring const*, 7>, 6> const dropEnds = {{ { &a_End, &o_End, &ya_End, &ie_End, &soft_End, &j_End, nullptr }, |