Akihiro Sagawa : hhctrl.ocx: Use DEFAULT_GUI_FONT to show non-ansi characters properly.
Alexandre Julliard
julliard at winehq.org
Mon Feb 28 11:02:10 CST 2011
Module: wine
Branch: master
Commit: e7efd148a8f0af12bbe21e5ebf8b01efd2f925b3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=e7efd148a8f0af12bbe21e5ebf8b01efd2f925b3
Author: Akihiro Sagawa <sagawa.aki at gmail.com>
Date: Sat Feb 26 20:31:26 2011 +0900
hhctrl.ocx: Use DEFAULT_GUI_FONT to show non-ansi characters properly.
---
dlls/hhctrl.ocx/help.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/hhctrl.ocx/help.c b/dlls/hhctrl.ocx/help.c
index 31060fe..4c6196e 100644
--- a/dlls/hhctrl.ocx/help.c
+++ b/dlls/hhctrl.ocx/help.c
@@ -1509,7 +1509,7 @@ static void HH_CreateFont(HHInfo *pHHInfo)
{
LOGFONTW lf;
- GetObjectW(GetStockObject(ANSI_VAR_FONT), sizeof(LOGFONTW), &lf);
+ GetObjectW(GetStockObject(DEFAULT_GUI_FONT), sizeof(LOGFONTW), &lf);
lf.lfWeight = FW_NORMAL;
lf.lfItalic = FALSE;
lf.lfUnderline = FALSE;
More information about the wine-cvs
mailing list