mirror of
https://github.com/reactos/reactos.git
synced 2024-12-28 18:15:11 +00:00
Fireball found one I missed.
svn path=/trunk/; revision=30575
This commit is contained in:
parent
61705cebb5
commit
49fd02d478
1 changed files with 4 additions and 1 deletions
|
@ -3852,6 +3852,7 @@ NtGdiGetTextFaceW(
|
|||
)
|
||||
{
|
||||
PDC Dc;
|
||||
PDC_ATTR Dc_Attr;
|
||||
HFONT hFont;
|
||||
PTEXTOBJ TextObj;
|
||||
NTSTATUS Status;
|
||||
|
@ -3864,7 +3865,9 @@ NtGdiGetTextFaceW(
|
|||
SetLastWin32Error(ERROR_INVALID_HANDLE);
|
||||
return FALSE;
|
||||
}
|
||||
hFont = Dc->Dc_Attr.hlfntNew;
|
||||
Dc_Attr = Dc->pDc_Attr;
|
||||
if(!Dc_Attr) Dc_Attr = &Dc->Dc_Attr;
|
||||
hFont = Dc_Attr->hlfntNew;
|
||||
DC_UnlockDc(Dc);
|
||||
|
||||
TextObj = TEXTOBJ_LockText(hFont);
|
||||
|
|
Loading…
Reference in a new issue