aboutsummaryrefslogtreecommitdiffstats
path: root/driver.c
diff options
context:
space:
mode:
Diffstat (limited to 'driver.c')
-rw-r--r--driver.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/driver.c b/driver.c
index 42dcac8f..6e12a672 100644
--- a/driver.c
+++ b/driver.c
@@ -2347,8 +2347,11 @@ is restored."));
for (sdp = ctl->newsaved; sdp; sdp = sdp->next)
if ((sdp->val.status.num == num)
- && (!toolarge || oldmsg))
+ && (!toolarge || oldmsg))
+ {
sdp->val.status.mark = UID_SEEN;
+ save_str(&ctl->oldsaved, sdp->id,UID_SEEN);
+ }
}
/* maybe we delete this message now? */