diff options
author | nyamatongwe <devnull@localhost> | 2011-08-08 11:38:28 +1000 |
---|---|---|
committer | nyamatongwe <devnull@localhost> | 2011-08-08 11:38:28 +1000 |
commit | 13d3781cbaebe09a009ad7e3cbf909ed096c2a9e (patch) | |
tree | 0796f687f9bf190a268baae26cc70e10a387ce94 | |
parent | ee3f851c522fbc475cc97f62af16bbf72ded6f98 (diff) | |
download | scintilla-mirror-13d3781cbaebe09a009ad7e3cbf909ed096c2a9e.tar.gz |
Make compile in narrow mode.
-rw-r--r-- | win32/PlatWin.cxx | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/win32/PlatWin.cxx b/win32/PlatWin.cxx index fdfd44d79..804fd66e1 100644 --- a/win32/PlatWin.cxx +++ b/win32/PlatWin.cxx @@ -260,7 +260,7 @@ HFONT FormatAndBaseline::HFont() { lf.lfWeight = pTextFormat->GetFontWeight(); lf.lfItalic = pTextFormat->GetFontStyle() == DWRITE_FONT_STYLE_ITALIC; lf.lfHeight = -static_cast<int>(pTextFormat->GetFontSize()); - return ::CreateFontIndirect(&lf); + return ::CreateFontIndirectW(&lf); } return 0; } |