m fix wrap column

This commit is contained in:
Mattias Andrée 2012-10-24 19:40:18 +02:00
parent 78eda26515
commit 86b983ec7d

View file

@ -1419,7 +1419,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 = wrapcolumn self.wrapcolumn = None if wrapcolumn is None else wrapcolumn - balloon.minwidth
self.width = width self.width = width
self.balloon = balloon self.balloon = balloon
self.hyphen = hyphen self.hyphen = hyphen