user32: Do not hardcode cp1252 for an icon/title font
Dmitry Timoshkov
dmitry at codeweavers.com
Sun Jun 10 04:14:56 CDT 2007
Hello,
ANSI_CHARSET maps to cp1252, while DEFAULT_CHARSET maps to current code page.
This patch should fix a problem reported in the bug 8648.
Changelog:
user32: Do not hardcode cp1252 for an icon/title font.
---
dlls/user32/sysparams.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/user32/sysparams.c b/dlls/user32/sysparams.c
index f8feb0d..c5de419 100644
--- a/dlls/user32/sysparams.c
+++ b/dlls/user32/sysparams.c
@@ -314,7 +314,7 @@ static ICONMETRICSW icon_metrics =
75, /* iHorzSpacing */
75, /* iVertSpacing */
TRUE, /* iTitleWrap */
- { -11, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, ANSI_CHARSET,
+ { -11, 0, 0, 0, FW_NORMAL, FALSE, FALSE, FALSE, DEFAULT_CHARSET,
OUT_DEFAULT_PRECIS, CLIP_DEFAULT_PRECIS, DEFAULT_QUALITY, DEFAULT_PITCH } /* lfFont */
};
--
1.5.1.6
More information about the wine-patches
mailing list