diff options
author | Kartik Agaram <vc@akkartik.com> | 2020-06-29 19:16:36 -0700 |
---|---|---|
committer | Kartik Agaram <vc@akkartik.com> | 2020-06-29 19:16:36 -0700 |
commit | 6c7f7abdb867084f1e7555105cfa140eae4f6372 (patch) | |
tree | 47918b44ecc85fcf3573189a3574f59014787514 /prototypes/browse/26-headers | |
parent | 222548962c9ed85c9d5057757287d0b0b069af02 (diff) | |
download | mu-6c7f7abdb867084f1e7555105cfa140eae4f6372.tar.gz |
6600
Diffstat (limited to 'prototypes/browse/26-headers')
-rw-r--r-- | prototypes/browse/26-headers/file-state.mu | 2 | ||||
-rw-r--r-- | prototypes/browse/26-headers/screen-position-state.mu | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/prototypes/browse/26-headers/file-state.mu b/prototypes/browse/26-headers/file-state.mu index 35f40229..0047b2c0 100644 --- a/prototypes/browse/26-headers/file-state.mu +++ b/prototypes/browse/26-headers/file-state.mu @@ -39,6 +39,6 @@ fn dump in: (addr buffered-file) { var c/eax: byte <- read-byte-buffered in compare c, 0xffffffff # EOF marker break-if-= - print-byte c + print-byte-to-screen c loop } diff --git a/prototypes/browse/26-headers/screen-position-state.mu b/prototypes/browse/26-headers/screen-position-state.mu index dcf3722a..51f7e7c8 100644 --- a/prototypes/browse/26-headers/screen-position-state.mu +++ b/prototypes/browse/26-headers/screen-position-state.mu @@ -72,7 +72,7 @@ $add-char:body: { break $add-char:body } # print c - print-byte c + print-byte-to-screen c # self->col++ var tmp/eax: (addr int) <- get self, col increment *tmp |