gdi32: Revert incorrect fix introduced in a5d288f08c
.
The real fix has been provided in 41aad2dce2
.
This commit is contained in:
parent
f898547b77
commit
7c1397412b
|
@ -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)) {
|
||||
|
|
Loading…
Reference in New Issue