This website works better with JavaScript.
首頁
探索
說明
登入
Immanuel
/
nnn
關註
1
收藏
0
複製
0
程式碼
問題管理
0
合併請求
0
版本發佈
0
Wiki
Activity
瀏覽代碼
Don't attempt to go back if on the relative root
master
lostd
11 年之前
父節點
8d4019f3aa
當前提交
9407399230
共有
1 個文件被更改
,包括
3 次插入
和
1 次删除
分割檢視
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-1
noice.c
+ 3
- 1
noice.c
查看文件
@@ -658,7 +658,9 @@ nochange:
return;
case SEL_BACK:
/* There is no going back */
if (strcmp(path, "/") == 0)
if (strcmp(path, "/") == 0 ||
strcmp(path, ".") == 0 ||
strchr(path, '/') == NULL)
goto nochange;
if (canopendir(path) == 0) {
printwarn();
Write
Preview
Loading…
取消
儲存