mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 21:32:56 +00:00
Quick patch.
svn path=/trunk/; revision=22263
This commit is contained in:
parent
c537a6efb8
commit
2097dade2d
1 changed files with 4 additions and 5 deletions
|
@ -3280,12 +3280,11 @@ NtGdiGetSetTextCharExtra( HDC hDC, INT CharExtra, BOOL Set)
|
||||||
if (!dc)
|
if (!dc)
|
||||||
{
|
{
|
||||||
SetLastWin32Error(ERROR_INVALID_HANDLE);
|
SetLastWin32Error(ERROR_INVALID_HANDLE);
|
||||||
|
return Ret;
|
||||||
}
|
}
|
||||||
else
|
|
||||||
{
|
|
||||||
Ret = dc->w.charExtra;
|
Ret = dc->w.charExtra;
|
||||||
if( Set ) dc->w.charExtra = CharExtra;
|
if( Set ) dc->w.charExtra = CharExtra;
|
||||||
}
|
DC_UnlockDc(dc);
|
||||||
return (Ret);
|
return (Ret);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue