Bugfix: fixed freshly introduced bug in GlobalLock16.

This commit is contained in:
Ulrich Weigand 1999-07-28 16:36:29 +00:00 committed by Alexandre Julliard
parent 4558480ad3
commit 81a8057c4e

View File

@ -399,7 +399,7 @@ SEGPTR WINAPI WIN16_GlobalLock16( HGLOBAL16 handle )
WARN("Invalid handle 0x%04x passed to WIN16_GlobalLock16!\n",handle); WARN("Invalid handle 0x%04x passed to WIN16_GlobalLock16!\n",handle);
sel = 0; sel = 0;
} }
if (!GET_ARENA_PTR(handle)->base) else if (!GET_ARENA_PTR(handle)->base)
sel = 0; sel = 0;
else else
GET_ARENA_PTR(handle)->lockCount++; GET_ARENA_PTR(handle)->lockCount++;