diff options
Diffstat (limited to 'prototypes/browse/10.mu')
-rw-r--r-- | prototypes/browse/10.mu | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/prototypes/browse/10.mu b/prototypes/browse/10.mu index 5025cb7d..e4f094fb 100644 --- a/prototypes/browse/10.mu +++ b/prototypes/browse/10.mu @@ -3,7 +3,7 @@ # monospace font of a terminal window. So underscores and asterisks will both # be bold. -fn main args: (addr array (addr array byte)) -> exit-status/ebx: int { +fn main args: (addr array addr array byte) -> exit-status/ebx: int { var filename/eax: (addr array byte) <- first-arg args var file/esi: (addr buffered-file) <- load-file filename enable-screen-grid-mode @@ -152,8 +152,8 @@ fn clear toprow: int, leftcol: int, botrow: int, rightcol: int { } } -fn first-arg args-on-stack: (addr array (addr array byte)) -> out/eax: (addr array byte) { - var args/eax: (addr array (addr array byte)) <- copy args-on-stack +fn first-arg args-on-stack: (addr array addr array byte) -> out/eax: (addr array byte) { + var args/eax: (addr array addr array byte) <- copy args-on-stack var result/eax: (addr addr array byte) <- index args, 1 out <- copy *result } |