From 99dc09b31257a7a2ea257ff883d6a700d533600b Mon Sep 17 00:00:00 2001 From: Hugo Villeneuve Date: Sat, 14 Jan 2017 21:23:05 -0500 Subject: [PATCH] Display counter only with new mail animation in debug mode --- src/wmnotify.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/wmnotify.c b/src/wmnotify.c index fec7d10..9646d38 100644 --- a/src/wmnotify.c +++ b/src/wmnotify.c @@ -429,10 +429,10 @@ static void *TimerThread(void *arg) NewMailAnimation(); (void) usleep(NEW_MAIL_ANIMATION_DURATION); counter--; - } - if (wmnotify_infos.debug) - printf("%s: counter = %d\n", PACKAGE, counter); + if (wmnotify_infos.debug) + printf("%s: counter = %d\n", PACKAGE, counter); + } } /* end while */ if (wmnotify_infos.debug) -- 2.20.1