Skip to content
Toggle navigation
Toggle navigation
This project
Loading...
Sign in
John McEleney
/
mailutils
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Issue Boards
Files
Commits
Network
Compare
Branches
Tags
Commit
4757badf
...
4757badffac65c435ab719569008de558928af14
authored
2001-09-10 15:02:09 +0000
by
Sergey Poznyakoff
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
Do not set first_unread or first_new if the message is marked as deleted.
1 parent
e3c7d0d1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
3 deletions
mail/summary.c
mail/summary.c
View file @
4757bad
...
...
@@ -37,18 +37,20 @@ mail_summary (int argc, char **argv)
if
((
mailbox_get_message
(
mbox
,
msgno
,
&
msg
)
==
0
)
&&
(
message_get_attribute
(
msg
,
&
attr
)
==
0
))
{
if
(
attribute_is_deleted
(
attr
))
int
deleted
=
attribute_is_deleted
(
attr
);
if
(
deleted
)
mdelete
++
;
if
(
attribute_is_seen
(
attr
)
&&
!
attribute_is_read
(
attr
))
{
mseen
++
;
if
(
!
first_unread
)
if
(
!
deleted
&&
!
first_unread
)
first_unread
=
msgno
;
}
if
(
attribute_is_recent
(
attr
))
{
mnew
++
;
if
(
!
first_new
)
if
(
!
deleted
&&
!
first_new
)
first_new
=
msgno
;
}
}
...
...
Please
register
or
sign in
to post a comment