summaryrefslogtreecommitdiff
path: root/core/fxge
diff options
context:
space:
mode:
authorRyan Harrison <rharrison@chromium.org>2017-09-06 15:08:11 -0400
committerChromium commit bot <commit-bot@chromium.org>2017-09-06 19:26:08 +0000
commit45061669500e6f4fe71972e0fb60065b02c255bf (patch)
tree63bb655da301a760c63b5a601e3b92f155033a20 /core/fxge
parenta5100b0ac84853615e5c9518a9514f14a187d4a3 (diff)
downloadpdfium-45061669500e6f4fe71972e0fb60065b02c255bf.tar.xz
Adding in missed )
BUG=pdfium:828 Change-Id: Ifeaf19291ffd33aab63449ab52f8d2606b66c0fc Reviewed-on: https://pdfium-review.googlesource.com/13330 Reviewed-by: dsinclair <dsinclair@chromium.org> Commit-Queue: Ryan Harrison <rharrison@chromium.org>
Diffstat (limited to 'core/fxge')
-rw-r--r--core/fxge/win32/fx_win32_print.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/core/fxge/win32/fx_win32_print.cpp b/core/fxge/win32/fx_win32_print.cpp
index 24cf42aa6b..ecd7be57c7 100644
--- a/core/fxge/win32/fx_win32_print.cpp
+++ b/core/fxge/win32/fx_win32_print.cpp
@@ -233,7 +233,8 @@ bool CGdiPrinterDriver::DrawDeviceText(int nChars,
lf.lfCharSet = DEFAULT_CHARSET;
const CFX_WideString wsName = pFont->GetFaceName().UTF8Decode();
- size_t iNameLen = std::min(wsName.GetLength(), static_cast<size_t>(LF_FACESIZE - 1);
+ size_t iNameLen =
+ std::min(wsName.GetLength(), static_cast<size_t>(LF_FACESIZE - 1));
memcpy(lf.lfFaceName, wsName.c_str(), sizeof(lf.lfFaceName[0]) * iNameLen);
lf.lfFaceName[iNameLen] = 0;