Skip to content

Commit 8a8714a

Browse files
committed
Fixes moving to a line past the end of the file.
1 parent 10b145b commit 8a8714a

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/editor.bas

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -593,6 +593,7 @@ PROC CalcRedrawScreen
593593
if nptr = MemEnd
594594
' Line is outside of current file, go to last line
595595
topLine = y
596+
nptr = ptr
596597
exit
597598
endif
598599
inc y

0 commit comments

Comments
 (0)