projects
/
mmh
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
18272ea
)
Enhance fix of 0b81a300d9e7cf78b6bc11d8c870f57fa81fcdc4.
author
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 16:11:49 +0000
(18:11 +0200)
committer
markus schnalke
<meillo@marmaro.de>
Tue, 27 Mar 2012 16:11:49 +0000
(18:11 +0200)
Ken Hornstein did the same fix for nmh. He showed me that I had missed
the second, similar, case. Thanks.
sbr/seq_add.c
patch
|
blob
|
history
diff --git
a/sbr/seq_add.c
b/sbr/seq_add.c
index
7fa7558
..
fd18a11
100644
(file)
--- a/
sbr/seq_add.c
+++ b/
sbr/seq_add.c
@@
-66,7
+66,7
@@
seq_addsel(struct msgs *mp, char *cp, int public, int zero)
** If sequence is new, or zero flag is set, then first
** clear the bit for this sequence from all messages.
*/
- if (new_seq || zero) {
+ if (mp->nummsg>0 && (new_seq || zero)) {
for (msgnum = mp->lowmsg; msgnum <= mp->hghmsg; msgnum++)
clear_sequence(mp, i, msgnum);
}