Dmitry Timoshkov : gdi32: Revert incorrect fix introduced in a5d288f08c08dc19d217093fdf8622605c92a4e0 .
Alexandre Julliard
julliard at winehq.org
Thu Oct 9 07:43:04 CDT 2008
Module: wine
Branch: master
Commit: 7c1397412b1a178287a6f35d1480a2f8b4c38e26
URL: http://source.winehq.org/git/wine.git/?a=commit;h=7c1397412b1a178287a6f35d1480a2f8b4c38e26
Author: Dmitry Timoshkov <dmitry at codeweavers.com>
Date: Thu Oct 9 14:30:00 2008 +0900
gdi32: Revert incorrect fix introduced in a5d288f08c08dc19d217093fdf8622605c92a4e0.
The real fix has been provided in 41aad2dce28ca0dd9d23fa6234ad8523302d6054.
---
dlls/gdi32/freetype.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/dlls/gdi32/freetype.c b/dlls/gdi32/freetype.c
index d4cecb3..0ab4c7a 100644
--- a/dlls/gdi32/freetype.c
+++ b/dlls/gdi32/freetype.c
@@ -3433,7 +3433,7 @@ GdiFont *WineEngCreateFontInstance(DC *dc, HFONT hfont)
/* If requested charset was DEFAULT_CHARSET then try using charset
corresponding to the current ansi codepage */
- if (!csi.fs.fsCsb[0] || lf.lfWeight == FW_DONTCARE)
+ if (!csi.fs.fsCsb[0])
{
INT acp = GetACP();
if(!TranslateCharsetInfo((DWORD*)(INT_PTR)acp, &csi, TCI_SRCCODEPAGE)) {
More information about the wine-cvs
mailing list