From 57a20764ecd58a76e6959f395025450a92ae1f4d Mon Sep 17 00:00:00 2001 From: Erich Eckner Date: Thu, 27 Jun 2019 22:15:19 +0200 Subject: update graphics only once --- emails.lps | 92 ++++++++++++++++++++++++++++++-------------------------------- unit1.pas | 4 ++- 2 files changed, 48 insertions(+), 48 deletions(-) diff --git a/emails.lps b/emails.lps index 4fb57c3..310acb3 100644 --- a/emails.lps +++ b/emails.lps @@ -9,7 +9,7 @@ - + @@ -20,9 +20,9 @@ - - - + + + @@ -30,9 +30,9 @@ - - - + + + @@ -41,7 +41,7 @@ - + @@ -68,7 +68,7 @@ - + @@ -76,7 +76,7 @@ - + @@ -116,123 +116,121 @@ - + - + - + - + - + - + - - + + - + - + - + - + - - + - + - + - + - - + + - - + + - + - - + + - - + + - + - - + + - + - - + + - + - - + - + - + diff --git a/unit1.pas b/unit1.pas index 2b5c711..43eeb68 100644 --- a/unit1.pas +++ b/unit1.pas @@ -267,8 +267,10 @@ var ausgabe: string; begin for i:=pc.nAnz-1 downto 0 do - if pc.spam(i)=slSpam then + if pc.spam(i)=slSpam then begin pc.loesche(i); + exit; // we will be notified again (iff there are new messages left) + end; mitMarkeDa:=0; memo1.lines.clear; ung:=0; -- cgit v1.2.3-70-g09d2