From 73cb5c454852e159c85f90a63f7f970374505819 Mon Sep 17 00:00:00 2001 From: npm Date: Thu, 5 Jan 2017 13:30:00 -0800 Subject: Fix bCJK calculation in Windows MapFont I think the bCJK variable calculation is wrong. If not, then it is not necessary, since currently it will always be set to false. CL that added this code: https://codereview.chromium.org/1306883002/ Review-Url: https://codereview.chromium.org/2611843008 --- core/fxge/win32/fx_win32_device.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/core/fxge/win32/fx_win32_device.cpp b/core/fxge/win32/fx_win32_device.cpp index 679479160f..1bfb4b7d6d 100644 --- a/core/fxge/win32/fx_win32_device.cpp +++ b/core/fxge/win32/fx_win32_device.cpp @@ -500,6 +500,7 @@ void* CFX_Win32FallbackFontInfo::MapFont(int weight, case FXFONT_GB2312_CHARSET: case FXFONT_CHINESEBIG5_CHARSET: case FXFONT_HANGUL_CHARSET: + break; default: bCJK = false; break; -- cgit v1.2.3