about summary refs log tree commit diff stats
path: root/browse-slack
diff options
context:
space:
mode:
authorKartik K. Agaram <vc@akkartik.com>2021-10-09 11:42:49 -0700
committerKartik K. Agaram <vc@akkartik.com>2021-10-09 11:42:49 -0700
commit527aaaa3abcc33fc1f3647385ffd19bde5d32b01 (patch)
tree4909f41ef477f52c8addc44845b91931fc5ed765 /browse-slack
parentfc5341e3cbe1e7965b58e728469f8cbff2d5faf7 (diff)
downloadmu-527aaaa3abcc33fc1f3647385ffd19bde5d32b01.tar.gz
.
Diffstat (limited to 'browse-slack')
-rw-r--r--browse-slack/environment.mu4
1 files changed, 2 insertions, 2 deletions
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