From 86b6cf1e7bf3db59f9448b2110fa25ad8aa6bff8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mattias=20Andr=C3=A9e?= Date: Sun, 28 Oct 2012 15:41:42 +0100 Subject: [PATCH] Correction in -W broke -o --- ponysay.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ponysay.py b/ponysay.py index 7a566b92..71edb1c9 100755 --- a/ponysay.py +++ b/ponysay.py @@ -1438,7 +1438,7 @@ class Backend(): def __init__(self, message, ponyfile, wrapcolumn, width, balloon, hyphen, linkcolour, ballooncolour): self.message = message 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.balloon = balloon self.hyphen = hyphen @@ -2268,7 +2268,7 @@ class SpelloCorrecter(): # Naïvely and quickly proted and adapted from optimise return 0x7FFFFF00 | y my = myy return my[xn] - +