summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
1642d62)
This solves the issue where `new' lists folders that have an empty
sequence (e.g. the unseen sequence), this also prevents `fnext' and
`fprev' from navigating to such folders.
*/
if (seq_in_list(f.name, sequences)) {
this_msgnums = trimcpy(f.value);
*/
if (seq_in_list(f.name, sequences)) {
this_msgnums = trimcpy(f.value);
+ if (strlen(this_msgnums) == 0) {
+ free(this_msgnums);
+ continue;
+ } else if (msgnums == NULL) {
msgnums = this_msgnums;
} else {
old_msgnums = msgnums;
msgnums = this_msgnums;
} else {
old_msgnums = msgnums;