diff options
| author | nyamatongwe <unknown> | 2011-08-08 11:38:28 +1000 |
|---|---|---|
| committer | nyamatongwe <unknown> | 2011-08-08 11:38:28 +1000 |
| commit | cc4163e9e3e5f94c4b56fea3794fa1fc49f8c129 (patch) | |
| tree | d56e26f42ea1f2465b6d89cf3d36e8763999aa93 /win32/PlatWin.cxx | |
| parent | 6eac1bd38534dfce8c890b24c59261bbf14a6c2b (diff) | |
| download | scintilla-mirror-cc4163e9e3e5f94c4b56fea3794fa1fc49f8c129.tar.gz | |
Make compile in narrow mode.
Diffstat (limited to 'win32/PlatWin.cxx')
| -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; } |
