sfm

simple file manager
git clone git://git.afify.dev/sfm
Log | Files | Refs | README | LICENSE

commit 375f4dea8648534e8726e6d8a3be93c86e11402d
parent e333888e003932b57f94b4e12514fc7ef00f406d
Author: afify <hassan@afify.dev>
Date:   Thu,  1 Apr 2021 00:40:58 +0300

[ref] cpane->dirc ineffective calculation

- variable cpane->dirc is reassigned a value before the old one has
been used

Diffstat:
Msfm.c | 1-
1 file changed, 0 insertions(+), 1 deletion(-)

diff --git a/sfm.c b/sfm.c @@ -1781,7 +1781,6 @@ listdir(int hi) if (cpane->filter != NULL) { if (filtercount > 0) { - cpane->dirc -= 2; cpane->dirc = filtercount; clear_pane(); cpane->hdir = 1;