diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-05 15:53:48 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-05 15:53:48 -0700 |
commit | 166668a189ab2d61e5015a4cde83eb1213fd08e7 (patch) | |
tree | d61440330d58ad8a5a19c35f7acfd0400e4fb19f /prototypes/browse/15-headers-broken.mu | |
parent | e8d793e9552d56e6389d53b8c0b3c27d53f2b82c (diff) | |
download | mu-166668a189ab2d61e5015a4cde83eb1213fd08e7.tar.gz |
6474
Diffstat (limited to 'prototypes/browse/15-headers-broken.mu')
-rw-r--r-- | prototypes/browse/15-headers-broken.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prototypes/browse/15-headers-broken.mu b/prototypes/browse/15-headers-broken.mu index 7b152bbc..5644f52d 100644 --- a/prototypes/browse/15-headers-broken.mu +++ b/prototypes/browse/15-headers-broken.mu @@ -38,7 +38,7 @@ fn render in: (addr buffered-file), nrows: int, ncols: int { # hardcoded parameters: # top-margin # page-margin - # text-width + # page-width var _r: render-state var r/edi: (addr render-state) <- address _r # r->start-of-line? = true @@ -48,7 +48,7 @@ fn render in: (addr buffered-file), nrows: int, ncols: int { var botrow/ecx: int <- copy nrows var leftcol/edx: int <- copy 5 # page-margin var rightcol/ebx: int <- copy leftcol - rightcol <- add 0x40 # text-width = 64 characters + rightcol <- add 0x40 # page-width = 64 characters start-color 0xec, 7 # 236 = darkish gray { compare rightcol, ncols @@ -57,7 +57,7 @@ fn render in: (addr buffered-file), nrows: int, ncols: int { leftcol <- copy rightcol leftcol <- add 5 # page-margin rightcol <- copy leftcol - rightcol <- add 0x40 # text-width + rightcol <- add 0x40 # page-width loop } } |