about summary refs log tree commit diff stats
path: root/prototypes/browse/9-bold.mu
diff options
context:
space:
mode:
authorKartik Agaram <vc@akkartik.com>2020-08-22 10:10:54 -0700
committerKartik Agaram <vc@akkartik.com>2020-08-22 10:14:37 -0700
commit66daf3cc1f479300cf3e58278a1167bd862d855a (patch)
tree323e8936cfc599b1255cb007b410bb35a7ac4a08 /prototypes/browse/9-bold.mu
parente8ffaf29cea786e1c1266273c65bdb5eb42b39ab (diff)
downloadmu-66daf3cc1f479300cf3e58278a1167bd862d855a.tar.gz
6720
Diffstat (limited to 'prototypes/browse/9-bold.mu')
-rw-r--r--prototypes/browse/9-bold.mu6
1 files changed, 3 insertions, 3 deletions
diff --git a/prototypes/browse/9-bold.mu b/prototypes/browse/9-bold.mu
index dec8e581..121cd0bf 100644
--- a/prototypes/browse/9-bold.mu
+++ b/prototypes/browse/9-bold.mu
@@ -1,4 +1,4 @@
-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
@@ -128,8 +128,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
 }