Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
09716117
Commit
09716117
authored
Jun 09, 2018
by
rswindell
Browse files
A little beautification of the unread msg only toggle output.
parent
e8965220
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
3 deletions
+4
-3
src/sbbs3/readmail.cpp
src/sbbs3/readmail.cpp
+4
-3
No files found.
src/sbbs3/readmail.cpp
View file @
09716117
...
...
@@ -802,13 +802,14 @@ void sbbs_t::readmail(uint usernumber, int which)
if
(
!
(
lm_mode
&
LM_UNREAD
))
{
if
(
getmail
(
&
cfg
,
usernumber
,
/* Sent: */
FALSE
,
/* attr: */
0
)
==
getmail
(
&
cfg
,
usernumber
,
/* Sent: */
FALSE
,
/* attr: */
MSG_READ
))
{
bprintf
(
text
[
NoMailWaiting
],
"
U
n-read"
);
bprintf
(
text
[
NoMailWaiting
],
"
u
n-read
mail
"
);
break
;
}
}
lm_mode
^=
LM_UNREAD
;
bputs
(
text
[
DisplayUnreadMessagesOnlyQ
]);
bputs
((
lm_mode
&
LM_UNREAD
)
?
text
[
On
]
:
text
[
Off
]);
bprintf
(
"%s: %s"
,
text
[
DisplayUnreadMessagesOnlyQ
]
,(
lm_mode
&
LM_UNREAD
)
?
text
[
On
]
:
text
[
Off
]);
CRLF
;
break
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment