about summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--apps/browse/paginated-screen.mu5
1 files changed, 3 insertions, 2 deletions
diff --git a/apps/browse/paginated-screen.mu b/apps/browse/paginated-screen.mu
index 48648e3c..0ceb3856 100644
--- a/apps/browse/paginated-screen.mu
+++ b/apps/browse/paginated-screen.mu
@@ -65,9 +65,10 @@ fn start-drawing _self: (addr paginated-screen) {
   tmp <- get self, leftcol
   copy-to *tmp, 5  # left-margin
   # self->rightcol = self->leftcol + page-width
+  tmp <- get self, page-width
+  tmp2 <- copy *tmp
   tmp <- get self, rightcol
-#?   copy-to *tmp, 0x1f  # ncols - 1
-  copy-to *tmp, 0x45  # left-margin + page-width
+  copy-to *tmp, tmp2  # left-margin + page-width
   # self->row = self->toprow
   tmp <- get self, toprow
   tmp2 <- copy *tmp