about summary refs log tree commit diff stats
path: root/prototypes/browse/19/screen-position-state.mu
diff options
context:
space:
mode:
Diffstat (limited to 'prototypes/browse/19/screen-position-state.mu')
-rw-r--r--prototypes/browse/19/screen-position-state.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/prototypes/browse/19/screen-position-state.mu b/prototypes/browse/19/screen-position-state.mu
index 2d2a675f..690cb60d 100644
--- a/prototypes/browse/19/screen-position-state.mu
+++ b/prototypes/browse/19/screen-position-state.mu
@@ -13,7 +13,7 @@ fn init-screen-position-state _self: (addr screen-position-state) {
   # hardcoded parameters:
   #   top-margin
   #   page-margin
-  #   text-width
+  #   page-width
   #   page-height (temporary)
   var self/esi: (addr screen-position-state) <- copy _self
   var nrows/eax: int <- copy 0
@@ -35,9 +35,9 @@ fn init-screen-position-state _self: (addr screen-position-state) {
   # self->leftcol = page-margin
   dest <- get self, leftcol
   copy-to *dest, 5  # left-margin
-  # self->rightcol = self->leftcol + text-width
+  # self->rightcol = self->leftcol + page-width
   dest <- get self, rightcol
-  copy-to *dest, 0xa  # left-margin + text-width
+  copy-to *dest, 0xa  # left-margin + page-width
   #
   start-drawing self
 }