fix placing corrected message when it contains special text. Fixes #7372

This commit is contained in:
Yann Leboulanger 2013-07-21 20:37:05 +02:00
parent 5f4fc5463b
commit c952b6d754
1 changed files with 0 additions and 1 deletions

View File

@ -1095,7 +1095,6 @@ class ConversationTextview(GObject.GObject):
special_text = otext[start:end] special_text = otext[start:end]
if start > index: if start > index:
text_before_special_text = otext[index:start] text_before_special_text = otext[index:start]
end_iter = buffer_.get_end_iter()
# we insert normal text # we insert normal text
if other_tags: if other_tags:
insert_tags_func(end_iter, text_before_special_text, *other_tags) insert_tags_func(end_iter, text_before_special_text, *other_tags)