Explorar el Código

No need to manually strip trailing slashes

We use realpath() now.
master
sin hace 11 años
padre
commit
abd301333d
Se han modificado 1 ficheros con 0 adiciones y 7 borrados
  1. +0
    -7
      noice.c

+ 0
- 7
noice.c Ver fichero

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



Cargando…
Cancelar
Guardar