diff --git a/src/fenrirscreenreader/utils/line_utils.py b/src/fenrirscreenreader/utils/line_utils.py index a4532fbb..d13d3a44 100644 --- a/src/fenrirscreenreader/utils/line_utils.py +++ b/src/fenrirscreenreader/utils/line_utils.py @@ -18,7 +18,7 @@ def getPrevLine(currX,currY, currText): y -= 1 else: endOfScreen = True - x = 0 + x = currX currLine = '' if not endOfScreen: currLine = wrappedLines[y] @@ -45,7 +45,7 @@ def getNextLine(currX,currY, currText): y += 1 else: endOfScreen = True - x = 0 + x = currX currLine = '' if not endOfScreen: currLine = wrappedLines[y]