Continue to check message for HL words after we found one that could be only the beginning of another real word.

This commit is contained in:
Jean-Marie Traissard 2008-04-01 19:57:27 +00:00
parent d10e203255
commit c497087115
1 changed files with 2 additions and 2 deletions

View File

@ -818,8 +818,8 @@ class GroupchatControl(ChatControlBase):
if (refer_to_nick_char != ''):
if refer_to_nick_char.isalpha():
# This is A->Z, a->z or 0-9, we can be sure our nick is the
# beginning of a real word, do not highlight.
return False
# beginning of a real word, do not highlight for this one.
break
else:
return True
else: # Special word == word, no char after in word