mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-31 04:13:37 +00:00
Quick patch.
svn path=/trunk/; revision=22263
This commit is contained in:
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user