summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorBert Münnich <ber.t@posteo.de>2013-11-14 14:47:36 +0100
committerBert Münnich <ber.t@posteo.de>2013-11-14 14:47:36 +0100
commit2737fc8b81829372d454f407e19733d66d964272 (patch)
tree976ee138e2fdcaba94c3c17073720834c1b45aa6 /main.c
parent38bc23405d619a7ba430731f141157104f2267f9 (diff)
parent0353e6eea265f5f6fa53eb75300529d9ffa6d4fa (diff)
downloadnsxiv-2737fc8b81829372d454f407e19733d66d964272.tar.zst
Merge remote-tracking branch 'ariand/gamma'
Diffstat (limited to 'main.c')
-rw-r--r--main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/main.c b/main.c
index b79cb96..dd26e01 100644
--- a/main.c
+++ b/main.c
@@ -351,6 +351,8 @@ void update_info(void)
n += snprintf(rt + n, rlen - n, "%0*d/%d | ",
fn, img.multi.sel + 1, img.multi.cnt);
}
+ if (img.gamma != 0)
+ n += snprintf(rt + n, rlen - n, "g%d | ", img.gamma);
n += snprintf(rt + n, rlen - n, "%0*d/%d", fw, sel + 1, filecnt);
ow_info = info.script == NULL;
}