- Misc fixes.

This commit is contained in:
ccremers 2006-08-07 11:54:43 +00:00
parent 6e759327cf
commit 44e84d1a08

View File

@ -85,6 +85,7 @@ class AttackDisplay(wx.ScrolledWindow):
(H,W) = makefit(H,W) (H,W) = makefit(H,W)
bmp = self.original.Scale(H,W) bmp = self.original.Scale(H,W)
self.Image.SetBitmap(wx.BitmapFromImage(bmp)) self.Image.SetBitmap(wx.BitmapFromImage(bmp))
elif self.attack.filetype == "ps": elif self.attack.filetype == "ps":
pil = self.original.copy() pil = self.original.copy()
(H,W) = pil.size (H,W) = pil.size