From 27bbaab976e02d2458099de96ec71d14aa1ade8e Mon Sep 17 00:00:00 2001 From: Don Hejna Date: Sun, 27 Nov 2016 20:36:23 -0800 Subject: Support for DELAY as a floating point number including less than 1 second while maintaining backward compatibiitiy with integer arguments. --- main.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'main.c') diff --git a/main.c b/main.c index d1813a5..714de4d 100644 --- a/main.c +++ b/main.c @@ -372,7 +372,7 @@ void update_info(void) } else { bar_put(r, "%s", mark); if (img.ss.on) - bar_put(r, "%ds | ", img.ss.delay); + bar_put(r, "%2.1fs | ", img.ss.delay); if (img.gamma != 0) bar_put(r, "G%+d | ", img.gamma); bar_put(r, "%3d%% | ", (int) (img.zoom * 100.0)); -- cgit v1.2.3