diff options
author | Markus Ongyerth <aerc@ongy.net> | 2018-06-13 07:00:57 +0200 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-06-13 07:00:12 -0400 |
commit | 2f5c1db63c55173d15a7ab17a9b75564fabd3648 (patch) | |
tree | 1dc40b9dc8de29de7dcd4428ee6bfa230450b8c3 /aerc.go | |
parent | 1265d9cff8ea2ceaaa3a0202ddbd8681357bc043 (diff) | |
download | aerc-2f5c1db63c55173d15a7ab17a9b75564fabd3648.tar.gz |
refactor lib/ui/tab to ensure staying in bounds
Fix a few potential out of bounds by placing proper checks, which should
be relevant if all tabs are removed for some reason.
Also avoid iterating all tabs in the invalidate handler, since we are
only interested in whether it's the selected tab either way
Diffstat (limited to 'aerc.go')
0 files changed, 0 insertions, 0 deletions