diff options
author | Dmitry Podgorny <pasis.ua@gmail.com> | 2020-04-23 14:30:49 +0300 |
---|---|---|
committer | Dmitry Podgorny <pasis.ua@gmail.com> | 2020-04-23 14:30:49 +0300 |
commit | 4672d0ca19e14e9af7c258cf3cf37b36655686da (patch) | |
tree | 64f32d4531f53bdd18da8d4a386f8af5d6cf3a44 /src/ui/window_list.c | |
parent | 4a712fcc7bc9d52c792dbb3dcf6df895301a0612 (diff) | |
download | profani-tty-4672d0ca19e14e9af7c258cf3cf37b36655686da.tar.gz |
ui: fix condition
Fix mistake in a condition. Also add sanity check to win_refresh_with_subwin().
Diffstat (limited to 'src/ui/window_list.c')
-rw-r--r-- | src/ui/window_list.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/ui/window_list.c b/src/ui/window_list.c index 0c139cb7..b1c01c41 100644 --- a/src/ui/window_list.c +++ b/src/ui/window_list.c @@ -743,8 +743,7 @@ wins_show_subwin(ProfWin *window) win_show_subwin(window); // only mucwin and console have occupants/roster subwin - if (window->type != WIN_MUC || - window->type != WIN_CONSOLE) { + if (window->type != WIN_MUC && window->type != WIN_CONSOLE) { return; } |