summaryrefslogtreecommitdiffstats
path: root/main.c
diff options
context:
space:
mode:
authorAndrás Mohari <andras.mohari@gmail.com>2013-11-13 20:54:09 +0100
committerAndrás Mohari <andras.mohari@gmail.com>2013-11-13 20:54:09 +0100
commit0353e6eea265f5f6fa53eb75300529d9ffa6d4fa (patch)
tree8b1e30131ec3eb3edd4cd7df7d955db3270b0c17 /main.c
parent450c1ed9b54de4d374bff80735c874bb6f7a4a0f (diff)
downloadnsxiv-0353e6eea265f5f6fa53eb75300529d9ffa6d4fa.tar.zst
Add support for changing the gamma value
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 eac3574..376898d 100644
--- a/main.c
+++ b/main.c
@@ -352,6 +352,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;
}