diff options
author | npm <npm@chromium.org> | 2017-01-05 13:30:00 -0800 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2017-01-05 13:30:00 -0800 |
commit | 73cb5c454852e159c85f90a63f7f970374505819 (patch) | |
tree | b207d9ada6fd900d1847ea0fc28d010be78898f1 /core | |
parent | 7855a2c57745c8f81ce410e6af0e4068fa2e8967 (diff) | |
download | pdfium-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
Diffstat (limited to 'core')
-rw-r--r-- | core/fxge/win32/fx_win32_device.cpp | 1 |
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; |