mirror of
https://github.com/reactos/reactos.git
synced 2024-07-01 10:20:03 +00:00
Quick patch.
svn path=/trunk/; revision=22263
This commit is contained in:
parent
c537a6efb8
commit
2097dade2d
|
@ -3280,12 +3280,11 @@ NtGdiGetSetTextCharExtra( HDC hDC, INT CharExtra, BOOL Set)
|
|||
if (!dc)
|
||||
{
|
||||
SetLastWin32Error(ERROR_INVALID_HANDLE);
|
||||
return Ret;
|
||||
}
|
||||
else
|
||||
{
|
||||
Ret = dc->w.charExtra;
|
||||
if( Set ) dc->w.charExtra = CharExtra;
|
||||
}
|
||||
Ret = dc->w.charExtra;
|
||||
if( Set ) dc->w.charExtra = CharExtra;
|
||||
DC_UnlockDc(dc);
|
||||
return (Ret);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue