gdi32: Revert incorrect fix introduced in a5d288f08c.

The real fix has been provided in 41aad2dce2.
This commit is contained in:
Dmitry Timoshkov 2008-10-09 14:30:00 +09:00 committed by Alexandre Julliard
parent f898547b77
commit 7c1397412b

View file

@ -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)) {