mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 17:44:45 +00:00
Thx Royce3 for notice's a typo error CreateData to CanCreateData in a if statement. But it is not the bug we are looking for.
svn path=/trunk/; revision=17233
This commit is contained in:
parent
fe9647d739
commit
2b0d98ed0e
1 changed files with 1 additions and 1 deletions
|
@ -72,7 +72,7 @@ HRESULT WINAPI Main_DDrawSurface_Initialize (LPDIRECTDRAWSURFACE7 iface, LPDIREC
|
|||
if (This->owner->DriverCallbacks.DdMain.CanCreateSurface (&CanCreateData) == DDHAL_DRIVER_NOTHANDLED)
|
||||
return DDERR_INVALIDPARAMS;
|
||||
|
||||
if(CreateData.ddRVal != DD_OK)
|
||||
if(CanCreateData.ddRVal != DD_OK)
|
||||
return CanCreateData.ddRVal;
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue