Update word_utils.py
This commit is contained in:
1 parent
d5f70ecba1
commit
1e42b65efa
1 file changed
+2
-2
@@ -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
|
||||
|
||||
Reference in new issue
Block a user