summaryrefslogtreecommitdiffstats
path: root/src/text
diff options
context:
space:
mode:
authorNikolay Korolev <nickvnuk@gmail.com>2020-05-03 00:43:12 +0200
committerNikolay Korolev <nickvnuk@gmail.com>2020-05-03 00:43:12 +0200
commit926e216dd46bebc104756274a351db215f7d32b2 (patch)
tree464d541362c3483072c481233ef4b2cc331cf133 /src/text
parentscript compatibility (diff)
parentFix pad Y axis (diff)
downloadre3-926e216dd46bebc104756274a351db215f7d32b2.tar
re3-926e216dd46bebc104756274a351db215f7d32b2.tar.gz
re3-926e216dd46bebc104756274a351db215f7d32b2.tar.bz2
re3-926e216dd46bebc104756274a351db215f7d32b2.tar.lz
re3-926e216dd46bebc104756274a351db215f7d32b2.tar.xz
re3-926e216dd46bebc104756274a351db215f7d32b2.tar.zst
re3-926e216dd46bebc104756274a351db215f7d32b2.zip
Diffstat (limited to '')
-rw-r--r--src/text/Messages.cpp2
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) == '~') {