Este sitio web funciona mejor con JavaScript.
Inicio
Explorar
Ayuda
Iniciar sesión
Immanuel
/
nnn
Seguir
1
Destacar
0
Fork
0
Código
Incidencias
0
Pull Requests
0
Lanzamientos
0
Wiki
Actividad
Explorar el Código
Revert "No need to manually strip trailing slashes"
This reverts commit
abd301333d
.
master
lostd
hace 10 años
padre
ce7411e93a
commit
9a14dcd8d2
Se han
modificado 1 ficheros
con
7 adiciones
y
0 borrados
Dividir vista
Opciones de diferencias
Mostrar estadísticas
Descargar archivo de parche
Descargar archivo de diferencias
+7
-0
noice.c
+ 7
- 0
noice.c
Ver fichero
@@ -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);
Escribir
Vista previa
Cargando…
Cancelar
Guardar