aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tsalis/src/printer.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tsalis/src/printer.c b/tsalis/src/printer.c
index 469b803..92cbcd9 100644
--- a/tsalis/src/printer.c
+++ b/tsalis/src/printer.c
@@ -156,6 +156,8 @@ tsp_scrollUp(void)
case PAGE_WORLD:
if (g_worldPos >= g_worldLineCoverage) {
g_worldPos -= g_worldLineCoverage;
+ } else {
+ g_worldPos = 0;
}
break;