Bug in channel view.
This commit is contained in:
Kartik K. Agaram 2021-08-13 23:06:46 -07:00
parent 82a223f58f
commit 3b1017dae5
1 changed files with 1 additions and 0 deletions

View File

@ -814,6 +814,7 @@ fn new-channel-tab _env: (addr environment), channel-index: int, _channels: (add
var curr-channel/eax: (addr channel) <- index channels, curr-channel-offset
var curr-channel-posts-first-free-addr/eax: (addr int) <- get curr-channel, posts-first-free
var curr-channel-final-post-index/eax: int <- copy *curr-channel-posts-first-free-addr
curr-channel-final-post-index <- decrement
var dest/edi: (addr int) <- get current-tab, item-index
copy-to *dest, curr-channel-final-post-index
}