summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authornpm <npm@chromium.org>2017-01-05 13:30:00 -0800
committerCommit bot <commit-bot@chromium.org>2017-01-05 13:30:00 -0800
commit73cb5c454852e159c85f90a63f7f970374505819 (patch)
treeb207d9ada6fd900d1847ea0fc28d010be78898f1
parent7855a2c57745c8f81ce410e6af0e4068fa2e8967 (diff)
downloadpdfium-73cb5c454852e159c85f90a63f7f970374505819.tar.xz
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
-rw-r--r--core/fxge/win32/fx_win32_device.cpp1
1 files changed, 1 insertions, 0 deletions
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;