diff options
| author | 2014-10-22 14:18:15 +0100 | |
|---|---|---|
| committer | 2014-10-22 14:18:15 +0100 | |
| commit | abd301333da81b72070fbb575dcd0824d3af038e (patch) | |
| tree | 8a41ebc979c3c3d37b17a3e80151e5837d9e7a9a | |
| parent | 9d25101ad9be009d4bceb56c67e01c2b5857129f (diff) | |
| download | nnn-abd301333da81b72070fbb575dcd0824d3af038e.tar.gz | |
No need to manually strip trailing slashes
We use realpath() now.
| -rw-r--r-- | noice.c | 7 |
1 files changed, 0 insertions, 7 deletions
@@ -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); |