From 3aea1483c9f59fb493ecaed4bf3d55cf1826d2c1 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Fri, 13 Aug 2021 21:10:59 -0700 Subject: [PATCH] . --- browse-slack/environment.mu | 8 ++++---- 1 file 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