Commit 81a8057c authored by Ulrich Weigand's avatar Ulrich Weigand Committed by Alexandre Julliard

Bugfix: fixed freshly introduced bug in GlobalLock16.

parent 4558480a
......@@ -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++;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment