本網站在啟用 JavaScript 的情況下可以運作的更好。
首頁
探索
說明
登入
Immanuel
/
nnn
關注
1
收藏
0
複製
0
程式碼
問題
0
合併請求
0
版本發佈
0
Wiki
活動
瀏覽代碼
Revert "No need to manually strip trailing slashes"
This reverts commit
abd301333d
.
master
lostd
10 年之前
父節點
ce7411e93a
當前提交
9a14dcd8d2
共有
1 個檔案被更改
,包括
7 行新增
和
0 行删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+7
-0
noice.c
+ 7
- 0
noice.c
查看文件
@@ -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…
取消
儲存