瀏覽代碼

Revert "No need to manually strip trailing slashes"

This reverts commit abd301333d.
master
lostd 10 年之前
父節點
當前提交
9a14dcd8d2
共有 1 個檔案被更改,包括 7 行新增0 行删除
  1. +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);



Loading…
取消
儲存