]> mj.ucw.cz Git - checkmail.git/commitdiff
OSD: avoid repeated messages
authorMartin Mares <mj@ucw.cz>
Sun, 18 Jul 2010 11:06:29 +0000 (13:06 +0200)
committerMartin Mares <mj@ucw.cz>
Sun, 18 Jul 2010 11:06:29 +0000 (13:06 +0200)
cm.c

diff --git a/cm.c b/cm.c
index b9b2050266fced91e61fc8854426ee3cedd87fbc..12ff25e9ecc1e9125614badb7e66f2755493f465 100644 (file)
--- a/cm.c
+++ b/cm.c
@@ -686,6 +686,7 @@ sync_osd(void)
   if (osd_have)
     return;
   debug("OSD: Displaying\n");
   if (osd_have)
     return;
   debug("OSD: Displaying\n");
+  osd_have = 1;
 
   char msg[1024];
   unsigned pos = 0;
 
   char msg[1024];
   unsigned pos = 0;