diff options
author | Sergeanur <s.anureev@yandex.ua> | 2020-05-03 01:40:37 +0300 |
---|---|---|
committer | Sergeanur <s.anureev@yandex.ua> | 2020-05-03 01:40:37 +0300 |
commit | dcd1ba6578653c9530db4047cd791498d55ae56f (patch) | |
tree | 7bb234150b7fbcd54dcc9a763862449f4533216b /src/text/Messages.cpp | |
parent | 6a40c03442a3707561203f7fc2403548b3c64a83 (diff) |
Fix CMessages::InsertStringInString
Diffstat (limited to 'src/text/Messages.cpp')
-rw-r--r-- | src/text/Messages.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/text/Messages.cpp b/src/text/Messages.cpp index 59341b84..82ab294c 100644 --- a/src/text/Messages.cpp +++ b/src/text/Messages.cpp @@ -424,7 +424,7 @@ CMessages::InsertStringInString(wchar *str1, wchar *str2) for (i = 0; i < total_size; ) { #ifdef MORE_LANGUAGES if ((CFont::IsJapanese() && *_str1 == (0x8000 | '~') && *(_str1 + 1) == (0x8000 | 'a') && *(_str1 + 2) == (0x8000 | '~')) - || (CFont::IsJapanese() && *_str1 == '~' && *(_str1 + 1) == 'a' && *(_str1 + 2) == '~')) + || (*_str1 == '~' && *(_str1 + 1) == 'a' && *(_str1 + 2) == '~')) { #else if (*_str1 == '~' && *(_str1 + 1) == 'a' && *(_str1 + 2) == '~') { |