From cf4769979d61fc01c4e8e5df376c7b9fe923c3ef Mon Sep 17 00:00:00 2001 From: Chris Forbes Date: Sat, 25 Jun 2011 18:20:32 +1200 Subject: [PATCH] fixed #899 -- OpenRA.Utility --png was missing unlock --- OpenRA.Utility/Command.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/OpenRA.Utility/Command.cs b/OpenRA.Utility/Command.cs index e2fa836355..196609a327 100644 --- a/OpenRA.Utility/Command.cs +++ b/OpenRA.Utility/Command.cs @@ -116,6 +116,8 @@ namespace OpenRA.Utility Marshal.Copy(frame.Image, 0, data.Scan0, frame.Image.Length); x += srcImage.Width; + + bitmap.UnlockBits( data ); } bitmap.Save(dest);