From: Hugo Villeneuve Date: Sun, 15 Jan 2017 02:23:05 +0000 (-0500) Subject: Display counter only with new mail animation in debug mode X-Git-Url: http://gitweb.hugovil.com/?a=commitdiff_plain;h=99dc09b31257a7a2ea257ff883d6a700d533600b;p=dockapps%2Fwmnotify.git Display counter only with new mail animation in debug mode --- 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)