No need to manually strip trailing slashes

We use realpath() now.
This commit is contained in:
sin 2014-10-22 14:18:15 +01:00
parent 9d25101ad9
commit abd301333d

View file

@ -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);