From 01a9da1e35b80da88ade0f0e8b41563223eaa893 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Tue, 11 Apr 2006 11:41:02 +0000 Subject: [PATCH] typo --- src/conversation_textview.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conversation_textview.py b/src/conversation_textview.py index 622c92410..baa27de74 100644 --- a/src/conversation_textview.py +++ b/src/conversation_textview.py @@ -641,7 +641,7 @@ class ConversationTextview(gtk.TextView): '''this adds normal and special text. call this to add text''' buffer = self.get_buffer() # /me is replaced by name if name is given - if name and text.startswith('/me ') or text.startswith('/me\n'): + if name and (text.startswith('/me ') or text.startswith('/me\n')): text = '* ' + name + text[3:] # detect urls formatting and if the user has it on emoticons index = self.detect_and_print_special_text(text, text_tags)