diff options
author | mathieui <mathieui@mathieui.net> | 2013-03-13 22:49:19 +0100 |
---|---|---|
committer | mathieui <mathieui@mathieui.net> | 2013-03-13 22:49:19 +0100 |
commit | 57ce4b6fdf3d5e9ac76d41f96286ebd47119232b (patch) | |
tree | 0ef5b3128ad420f69e5accadc821a5203f5c0260 /src/text_buffer.py | |
parent | d797b1fd65ba73c48e1933cc8042db0cc548094a (diff) | |
download | poezio-57ce4b6fdf3d5e9ac76d41f96286ebd47119232b.tar.gz poezio-57ce4b6fdf3d5e9ac76d41f96286ebd47119232b.tar.bz2 poezio-57ce4b6fdf3d5e9ac76d41f96286ebd47119232b.tar.xz poezio-57ce4b6fdf3d5e9ac76d41f96286ebd47119232b.zip |
Fix #2265
also:
- fix Message.__str__/repr
- fix a traceback with user gaming
Diffstat (limited to 'src/text_buffer.py')
-rw-r--r-- | src/text_buffer.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/text_buffer.py b/src/text_buffer.py index 0b9fc319..3f24760d 100644 --- a/src/text_buffer.py +++ b/src/text_buffer.py @@ -33,9 +33,9 @@ def other_elems(self): def repr_message(self): init = other_elems(self) - acc = [] + acc = [init] next = self.old_message - rev = 0 + rev = 1 while next: acc.append(other_elems(next)) next = next.old_message |