From dcd1ba6578653c9530db4047cd791498d55ae56f Mon Sep 17 00:00:00 2001 From: Sergeanur Date: Sun, 3 May 2020 01:40:37 +0300 Subject: Fix CMessages::InsertStringInString --- src/text/Messages.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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) == '~') { -- cgit v1.2.3