FINALLY fixed stupid drawing bug

--HG--
branch : pmacs2
This commit is contained in:
moculus 2009-02-14 20:10:47 +00:00
parent 2e37f0e0dd
commit 6bf75e4200
1 changed files with 1 additions and 1 deletions

View File

@ -157,7 +157,7 @@ class Window(object):
def set_size(self, width, height): def set_size(self, width, height):
assert type(width) == type(0), width assert type(width) == type(0), width
assert type(height) == type(0), height assert type(height) == type(0), height
self.width = width - self.mode.lmargin - self.mode.rmargin - 10 self.width = width - self.mode.lmargin - self.mode.rmargin
self.height = height - self.mode.header - self.mode.footer self.height = height - self.mode.header - self.mode.footer
self.redraw() self.redraw()