noice

small file browser
git clone git://git.2f30.org/noice
Log | Files | Refs | README | LICENSE

commit abd301333da81b72070fbb575dcd0824d3af038e
parent 9d25101ad9be009d4bceb56c67e01c2b5857129f
Author: sin <sin@2f30.org>
Date:   Wed, 22 Oct 2014 14:18:15 +0100

No need to manually strip trailing slashes

We use realpath() now.

Diffstat:
Mnoice.c | 7-------
1 file changed, 0 insertions(+), 7 deletions(-)

diff --git a/noice.c b/noice.c @@ -491,13 +491,6 @@ redraw: /* Clean screen */ erase(); - /* Strip trailing slashes */ - for (i = strlen(path) - 1; i > 0; i--) - if (path[i] == '/') - path[i] = '\0'; - else - break; - DPRINTF_D(cur); DPRINTF_S(path);