diff options
author | NRK <nrk@disroot.org> | 2022-05-09 19:23:54 +0600 |
---|---|---|
committer | N-R-K <nrk@disroot.org> | 2022-05-19 11:44:30 +0000 |
commit | f255e1cc1217ee7497436909a8a9b8dbf8fd270e (patch) | |
tree | afe075db3adba3fe198b84eaa98000bf3e2d8f48 | |
parent | 3bf198ecd38fef4c00fb04d2e7def7a794d3236c (diff) |
fix: don't override statusbar if info script doesn't exist
this happens when the keyhandler is invoked while viewing an animated
image. if {image,thumb}-info scripts exists, everything works as
expected. but if they don't, then update_info will override the
statusbar.
-rw-r--r-- | main.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -400,7 +400,7 @@ static void update_info(void) win_bar_t *l = &win.bar.l, *r = &win.bar.r; /* update bar contents */ - if (win.bar.h == 0) + if (win.bar.h == 0 || extprefix) return; for (fw = 0, i = filecnt; i > 0; fw++, i /= 10); mark = files[fileidx].flags & FF_MARK ? "* " : ""; |