# HG changeset patch
# User Wuzzy <Wuzzy2@mail.ru>
# Date 1541060271 -3600
# Node ID 1a85afba813dda4579440689964f51ca882ab035
# Parent  7b78c87d80a1e3dc0f6571804447d00047ae61ee
Enable CJK font when using any full/halfwith char (U+FF00 to U+FFEF)

diff -r 7b78c87d80a1 -r 1a85afba813d hedgewars/uUtils.pas
--- a/hedgewars/uUtils.pas	Thu Nov 01 08:39:22 2018 +0100
+++ b/hedgewars/uUtils.pas	Thu Nov 01 09:17:51 2018 +0100
@@ -567,7 +567,7 @@
        ((#$AC00  <= u) and (u <= #$D7AF))  or // Hangul Syllables
        ((#$F900  <= u) and (u <= #$FAFF))  or // CJK Compatibility Ideographs
        ((#$FE30  <= u) and (u <= #$FE4F))  or // CJK Compatibility Forms
-       ((#$FF66  <= u) and (u <= #$FF9D)))    // halfwidth katakana
+       ((#$FF00  <= u) and (u <= #$FFEF)))    // half- and fullwidth characters
        then
         begin
             CheckCJKFont:=  THWFont( ord(font) + ((ord(High(THWFont))+1) div 2) );