This website works better with JavaScript.
首頁
探索
說明
登入
Immanuel
/
nnn
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
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 */
/* Clean screen */
erase();
erase();
/* Strip trailing slashes */
for (i = strlen(path) - 1; i > 0; i--)
if (path[i] == '/')
path[i] = '\0';
else
break;
DPRINTF_D(cur);
DPRINTF_D(cur);
DPRINTF_S(path);
DPRINTF_S(path);
Write
Preview
|
|
|
|
|
|
x
0
0
0:0
Loading…
取消
儲存