Commits

illume committed a11dcfe

Unlocked the surface when the function ends.

Comments (0)

Files changed (2)

 # BREAK = change breaks existing code
 # BUG	= fixed a bug that was (or could have been) crashing
 
+
+September 8, 2005
+    surface.array_colorkey now unlocks the surface after use[BUG].
+
 September 1, 2005
     music.queue() now raises exception if load fails.
 
 		}break;
 	}
 
-	if(!PySurface_Lock(surfobj)) return NULL;
+	if(!PySurface_Unlock(surfobj)) return NULL;
 	return array;
 }