From 78a52eaf0beee535950218396bafffcd5abb5b7c Mon Sep 17 00:00:00 2001 From: Roman Bogorodskiy Date: Thu, 24 Aug 2006 18:14:22 +0000 Subject: [PATCH] Loop as much times as we tald to loop. git-svn-id: https://conky.svn.sourceforge.net/svnroot/conky/trunk/conky1@696 7f574dfc-610e-0410-a909-a81674777703 --- src/conky.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conky.c b/src/conky.c index 506c14de..6de34430 100644 --- a/src/conky.c +++ b/src/conky.c @@ -5772,7 +5772,7 @@ static void main_loop() #endif /* X11 */ info.looped = 0; - while (total_run_times == 0 || info.looped < total_run_times - 1) { + while (total_run_times == 0 || info.looped < total_run_times) { info.looped++; #ifdef SIGNAL_BLOCKING