Bugfix: fixed freshly introduced bug in GlobalLock16.
This commit is contained in:
parent
4558480ad3
commit
81a8057c4e
|
@ -399,7 +399,7 @@ SEGPTR WINAPI WIN16_GlobalLock16( HGLOBAL16 handle )
|
|||
WARN("Invalid handle 0x%04x passed to WIN16_GlobalLock16!\n",handle);
|
||||
sel = 0;
|
||||
}
|
||||
if (!GET_ARENA_PTR(handle)->base)
|
||||
else if (!GET_ARENA_PTR(handle)->base)
|
||||
sel = 0;
|
||||
else
|
||||
GET_ARENA_PTR(handle)->lockCount++;
|
||||
|
|
Loading…
Reference in New Issue