wrap correction

This commit is contained in:
Mattias Andrée 2012-08-22 02:50:35 +02:00
parent beeed62f49
commit a9c0dedfbc
3 changed files with 15 additions and 1 deletions

View file

@ -4,6 +4,13 @@ Version 2.3
`-q` accepts file names.
Improved Unicode support: treats combining characters as invisible
Optional support for UCS pony names
Pony files and balloon style files can be pipes (as
well as sockets, doors and as always regular files.)
Version 2.2

View file

@ -1138,6 +1138,13 @@ first pony file in common.
Support for @code{best.pony} file.
@item
@code{-q} accepts file names.
@item
Improved Unicode support: treats combining characters as invisible
@item
Optional support for UCS pony names
@item
Pony files and balloon style files can be pipes (as well as sockets, doors
and as always regular files)
@end itemize
@heading Version 2.2

View file

@ -1305,7 +1305,7 @@ class Backend():
msg = self.__wrapMessage(msg, wrap)
lines = msg.split('\n')
return self.balloon.get(width, height, lines, lambda text : self.__len(text) - UCS.countCombining(text))
return self.balloon.get(width, height, lines, self.__len)
'''