mirror of
https://github.com/erkin/ponysay.git
synced 2025-03-29 14:57:43 +01:00
Correction in -W broke -o
This commit is contained in:
parent
90990ba099
commit
86b6cf1e7b
1 changed files with 2 additions and 2 deletions
|
@ -1438,7 +1438,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
|
||||||
|
@ -2268,7 +2268,7 @@ class SpelloCorrecter(): # Naïvely and quickly proted and adapted from optimise
|
||||||
return 0x7FFFFF00 | y
|
return 0x7FFFFF00 | y
|
||||||
my = myy
|
my = myy
|
||||||
return my[xn]
|
return my[xn]
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue