diff options
author | Kartik K. Agaram <vc@akkartik.com> | 2021-08-13 21:10:59 -0700 |
---|---|---|
committer | Kartik K. Agaram <vc@akkartik.com> | 2021-08-13 21:10:59 -0700 |
commit | 3aea1483c9f59fb493ecaed4bf3d55cf1826d2c1 (patch) | |
tree | 5de22b5fce0f629e0d5f9fc3c9a3cad4c67313ac | |
parent | 7465f6867b91b4c0137b7ec403d6a944217836fe (diff) | |
download | mu-3aea1483c9f59fb493ecaed4bf3d55cf1826d2c1.tar.gz |
.
-rw-r--r-- | browse-slack/environment.mu | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/browse-slack/environment.mu b/browse-slack/environment.mu index 93365f4a..fdc5713c 100644 --- a/browse-slack/environment.mu +++ b/browse-slack/environment.mu @@ -18,8 +18,8 @@ type tab { channel-index: int # only for type 2 search-terms: (handle gap-buffer) - items: (handle array int) - items-first-free: int + search-items: (handle array int) + search-items-first-free: int } # static buffer sizes in this file: @@ -782,8 +782,8 @@ fn new-search-tab _env: (addr environment), items: (addr item-list) { fn search-items _tab: (addr tab), _items: (addr item-list), search-terms: (addr gap-buffer) { var tab/edi: (addr tab) <- copy _tab - var tab-items-first-free-addr/esi: (addr int) <- get tab, items-first-free - var tab-items-ah/eax: (addr handle array int) <- get tab, items + var tab-items-first-free-addr/esi: (addr int) <- get tab, search-items-first-free + var tab-items-ah/eax: (addr handle array int) <- get tab, search-items populate tab-items-ah, 0x100/max-search-results var _tab-items/eax: (addr array int) <- lookup *tab-items-ah var tab-items/edi: (addr array int) <- copy _tab-items |