aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornyamatongwe <unknown>2011-08-08 11:38:28 +1000
committernyamatongwe <unknown>2011-08-08 11:38:28 +1000
commitcc4163e9e3e5f94c4b56fea3794fa1fc49f8c129 (patch)
treed56e26f42ea1f2465b6d89cf3d36e8763999aa93
parent6eac1bd38534dfce8c890b24c59261bbf14a6c2b (diff)
downloadscintilla-mirror-cc4163e9e3e5f94c4b56fea3794fa1fc49f8c129.tar.gz
Make compile in narrow mode.
-rw-r--r--win32/PlatWin.cxx2
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;
}