使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
Immanuel
/
nnn
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Don't attempt to go back if on the relative root
master
lostd
11 年前
父节点
8d4019f3aa
当前提交
9407399230
共有
1 个文件被更改
,包括
3 次插入
和
1 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+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();
撰写
预览
正在加载...
取消
保存