From 527aaaa3abcc33fc1f3647385ffd19bde5d32b01 Mon Sep 17 00:00:00 2001 From: "Kartik K. Agaram" Date: Sat, 9 Oct 2021 11:42:49 -0700 Subject: . --- browse-slack/environment.mu | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'browse-slack') diff --git a/browse-slack/environment.mu b/browse-slack/environment.mu index e8c1b2b2..f972d86a 100644 --- a/browse-slack/environment.mu +++ b/browse-slack/environment.mu @@ -957,10 +957,10 @@ fn update-search _env: (addr environment), key: byte, users: (addr array user), fn new-thread-tab _env: (addr environment), users: (addr array user), channels: (addr array channel), _items: (addr item-list) { var env/edi: (addr environment) <- copy _env - var current-tab-index-a/ecx: (addr int) <- get env, current-tab-index + var current-tab-index-addr/ecx: (addr int) <- get env, current-tab-index var tabs-ah/eax: (addr handle array tab) <- get env, tabs var tabs/eax: (addr array tab) <- lookup *tabs-ah - var current-tab-index/ecx: int <- copy *current-tab-index-a + var current-tab-index/ecx: int <- copy *current-tab-index-addr var current-tab-offset/ecx: (offset tab) <- compute-offset tabs, current-tab-index var current-tab/ecx: (addr tab) <- index tabs, current-tab-offset var item-index/esi: int <- item-index current-tab, channels -- cgit 1.4.1-2-gfad0