使用 JavaScript能使本网站更好的工作。
首页
探索
帮助
登录
Immanuel
/
sxiv
关注
1
点赞
0
派生
0
代码
工单
0
合并请求
0
版本发布
0
百科
动态
浏览代码
Fixed issue
#25
: invalid file cnt and sel in thumb mode
master
Bert Münnich
13 年前
父节点
1cdbeb972a
当前提交
ac1300ae00
共有
2 个文件被更改
,包括
5 次插入
和
2 次删除
分列视图
Diff 选项
显示统计
下载 Patch 文件
下载 Diff 文件
+1
-1
Makefile
+4
-1
commands.c
+ 1
- 1
Makefile
查看文件
@@ -1,4 +1,4 @@
VERSION = git-201110
27
VERSION = git-201110
31
CC = gcc
CFLAGS = -ansi -Wall -pedantic -O2
+ 4
- 1
commands.c
查看文件
@@ -69,7 +69,10 @@ bool it_switch_mode(arg_t a) {
img.slideshow = false;
reset_timeout(slideshow);
}
tns.sel = fileidx;
if (fileidx < tns.cnt)
tns.sel = fileidx;
else
tns.sel = tns.cnt > 0 ? tns.cnt - 1 : 0;
tns.dirty = true;
mode = MODE_THUMB;
} else {
撰写
预览
正在加载...
取消
保存