Selaa lähdekoodia

Revert "No need to manually strip trailing slashes"

This reverts commit abd301333d.
master
lostd 10 vuotta sitten
vanhempi
commit
9a14dcd8d2
1 muutettua tiedostoa jossa 7 lisäystä ja 0 poistoa
  1. +7
    -0
      noice.c

+ 7
- 0
noice.c Näytä tiedosto

@@ -567,6 +567,13 @@ 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);



Loading…
Peruuta
Tallenna