about summary refs log tree commit diff stats
path: root/apps/browse
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-09-07 23:35:18 -0700
committerKartik Agaram <vc@akkartik.com>2020-09-07 23:35:18 -0700
commit571ff107a26a2bc1932ec9dc0d62365f99e385f9 (patch)
tree6f87ea482f386de4d9cdd806df5485a6e4849237 /apps/browse
parent8aa1b8d45e99f16dda6bafc85386d05404bd3aee (diff)
downloadmu-571ff107a26a2bc1932ec9dc0d62365f99e385f9.tar.gz
6757
Diffstat (limited to 'apps/browse')
-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