Add support for changing the gamma value

This commit is contained in:
András Mohari
2013-11-13 20:54:09 +01:00
parent 450c1ed9b5
commit 0353e6eea2
9 changed files with 91 additions and 3 deletions

2
main.c
View File

@ -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;
}