This website works better with JavaScript.
Home
Explore
Help
Sign In
Immanuel
/
nnn
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Releases
0
Wiki
Activity
Browse Source
Revert "No need to manually strip trailing slashes"
This reverts commit
abd301333d
.
master
lostd
10 years ago
parent
ce7411e93a
commit
9a14dcd8d2
1 changed files
with
7 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
noice.c
+ 7
- 0
noice.c
View 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…
Cancel
Save