No need to unlock, if locking failed. Fixes CID 186.

svn path=/trunk/; revision=36767
This commit is contained in:
Gregor Schneider 2008-10-16 17:12:25 +00:00
parent 55c21fd29a
commit 5c169cc017

View file

@ -1850,7 +1850,6 @@ UserShowCursor(BOOL bShow)
BitmapObj = BITMAPOBJ_LockBitmap(dcbmp);
if ( !BitmapObj )
{
BITMAPOBJ_UnlockBitmap(BitmapObj);
return showpointer; /* No Mouse */
}