Update word_utils.py

This commit is contained in:
chrys87 2016-12-20 17:38:39 +01:00 committed by GitHub
parent d5f70ecba1
commit 1e42b65efa

View File

@ -36,7 +36,7 @@ def getCurrentWord(currX,currY, currText):
else:
y -= 1
currLine = wrappedLines[y]
x = len( wrappedLines[y]) - 1
x = len( currLine) - 1
lineBreak = True
else:
x -= 1
@ -69,7 +69,7 @@ def getPrevWord(currX,currY, currText):
else:
y -= 1
currLine = wrappedLines[y]
x = len( wrappedLines[y]) - 1
x = len( currLine) - 1
lineBreak = True
else:
x -= 1