From 50ebab504d8688bfdc632cf7ea3f8a95ec48e1ef Mon Sep 17 00:00:00 2001 From: ccremers Date: Fri, 4 Aug 2006 23:29:52 +0000 Subject: [PATCH] - Old code again. --- gui/Attackwindow.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gui/Attackwindow.py b/gui/Attackwindow.py index ca3ee68..95ee686 100644 --- a/gui/Attackwindow.py +++ b/gui/Attackwindow.py @@ -90,9 +90,8 @@ class AttackDisplay(wx.ScrolledWindow): self.Image.SetBitmap(wx.BitmapFromImage(bmp)) elif self.attack.filetype == "ps": pil = self.original.copy() - (H,W) = (sh,sw) - # (H,W) = pil.size - # (H,W) = makefit(H,W) + (H,W) = pil.size + (H,W) = makefit(H,W) # we really only want antialias when it's smaller pil.thumbnail((H,W),Image.ANTIALIAS)