# HG changeset patch # User KarstenBock@gmx.net # Date 1315500970 -7200 # Node ID de09adb7a73653dc4f2658c3d07b9f41bd6f0019 # Parent 7b9f6e3513d479e414f91b443a6555f4e3ec83c2 Fixed bug in the text splitting code of ExamineAction. diff -r 7b9f6e3513d4 -r de09adb7a736 objects/action.py --- a/objects/action.py Thu Sep 08 18:36:40 2011 +0200 +++ b/objects/action.py Thu Sep 08 18:56:10 2011 +0200 @@ -208,7 +208,7 @@ logger.debug(action_text) #this code will cut the line up into smaller lines that will be displayed place = 25 - while place <= len(action_text): + while place < len(action_text): if action_text[place] == ' ': action_text = action_text[:place] +'\n'+action_text[place:] place += 26 #plus 1 character to offset the new line