From cc4163e9e3e5f94c4b56fea3794fa1fc49f8c129 Mon Sep 17 00:00:00 2001 From: nyamatongwe Date: Mon, 8 Aug 2011 11:38:28 +1000 Subject: Make compile in narrow mode. --- win32/PlatWin.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'win32') 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(pTextFormat->GetFontSize()); - return ::CreateFontIndirect(&lf); + return ::CreateFontIndirectW(&lf); } return 0; } -- cgit v1.2.3