Fixed stupid Lock/Unlock bug

git-svn-id: svn://svn.code.sf.net/p/sc2/code/trunk@682 8092fc87-c524-0410-9efc-e669fe64eaf9
This commit is contained in:
mcmartin
2003-02-05 07:23:21 +00:00
parent 075ad942a4
commit 04d9ae174d
+2 -2
View File
@@ -45,14 +45,14 @@ blt (PRECT pClipRect, PRIMITIVEPTR PrimPtr)
img = (TFB_Image *) ((BYTE *) SrcFramePtr + SrcFramePtr->DataOffs);
LockMutex (img->mutex);
if (TYPE_GET (_CurFramePtr->TypeIndexAndFlags) == SCREEN_DRAWABLE)
{
int x, y;
BOOLEAN scaled, paletted, filled;
TFB_Palette palette[256];
LockMutex (img->mutex);
x = pClipRect->corner.x - GetFrameHotX (_CurFramePtr);
y = pClipRect->corner.y - GetFrameHotY (_CurFramePtr);
scaled = filled = FALSE;