Clarify panel->currrent if file panel is empty.
commitf147c8b3e293318eff0244e5e547fd5cc0e0596f
authorAndrew Borodin <aborodin@vmail.ru>
Sat, 19 Oct 2024 07:34:31 +0000 (19 10:34 +0300)
committerAndrew Borodin <aborodin@vmail.ru>
Sat, 19 Oct 2024 08:40:36 +0000 (19 11:40 +0300)
treeb1dc57a0b9a844f815b558b1a78780a4f2ea1949
parent1ac839d20c2a277d54aa00286b69f61ffeaec929
Clarify panel->currrent if file panel is empty.

  * (panel_do_cd_int): set panel->current to -1 file list is empty.
  * (panel_set_current_by_name): likewise.
  * (panel_sized_with_dir_new): likewise.
  * (panel_reload): likewise.

Signed-off-by: Andrew Borodin <aborodin@vmail.ru>
src/filemanager/panel.c