Correction in -W broke -o

This commit is contained in:
Mattias Andrée 2012-10-28 15:42:07 +01:00
parent 9365bc655c
commit 998f8230ba

View file

@ -1431,7 +1431,7 @@ class Backend():
def __init__(self, message, ponyfile, wrapcolumn, width, balloon, hyphen, linkcolour, ballooncolour): def __init__(self, message, ponyfile, wrapcolumn, width, balloon, hyphen, linkcolour, ballooncolour):
self.message = message self.message = message
self.ponyfile = ponyfile self.ponyfile = ponyfile
self.wrapcolumn = None if wrapcolumn is None else wrapcolumn - balloon.minwidth self.wrapcolumn = None if wrapcolumn is None else wrapcolumn - (0 if balloon is None else balloon.minwidth)
self.width = width self.width = width
self.balloon = balloon self.balloon = balloon
self.hyphen = hyphen self.hyphen = hyphen