Il sito funziona meglio con JavaScript.
Home
Esplora
Aiuto
Accedi
Immanuel
/
nnn
Segui
1
Vota
0
Forka
0
Codice
Problemi
0
Pull Requests
0
Rilasci
0
Wiki
Attività
Sfoglia il codice sorgente
Revert "No need to manually strip trailing slashes"
This reverts commit
abd301333d
.
master
lostd
11 anni fa
parent
ce7411e93a
commit
9a14dcd8d2
1 ha cambiato i file
con
7 aggiunte
e
0 eliminazioni
Visualizzazione separata
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
noice.c
+ 7
- 0
noice.c
Vedi File
@@ -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);
Write
Preview
Loading…
Annulla
Salva