2006-10-03 [colin] 2.5.2cvs41

* src/mh.c
		Don't use strlen() to know if the
		string's empty
This commit is contained in:
Colin Leroy 2006-10-03 18:16:40 +00:00
parent 62d761fdc0
commit 4fc1092b8a
4 changed files with 9 additions and 2 deletions

View file

@ -1,3 +1,9 @@
2006-10-03 [colin] 2.5.2cvs41
* src/mh.c
Don't use strlen() to know if the
string's empty
2006-10-03 [colin] 2.5.2cvs40
* src/mh.c

View file

@ -1954,3 +1954,4 @@
( cvs diff -u -r 1.207.2.127 -r 1.207.2.128 src/folderview.c; ) > 2.5.2cvs38.patchset
( cvs diff -u -r 1.60.2.21 -r 1.60.2.22 src/filtering.c; cvs diff -u -r 1.213.2.119 -r 1.213.2.120 src/folder.c; cvs diff -u -r 1.149.2.59 -r 1.149.2.60 src/inc.c; cvs diff -u -r 1.28.2.28 -r 1.28.2.29 src/mbox.c; ) > 2.5.2cvs39.patchset
( cvs diff -u -r 1.79.2.47 -r 1.79.2.48 src/mh.c; ) > 2.5.2cvs40.patchset
( cvs diff -u -r 1.79.2.48 -r 1.79.2.49 src/mh.c; ) > 2.5.2cvs41.patchset

View file

@ -11,7 +11,7 @@ MINOR_VERSION=5
MICRO_VERSION=2
INTERFACE_AGE=0
BINARY_AGE=0
EXTRA_VERSION=40
EXTRA_VERSION=41
EXTRA_RELEASE=
EXTRA_GTK2_VERSION=

View file

@ -1369,7 +1369,7 @@ static void mh_write_sequences(FolderItem *item, gboolean remove_unseen)
}
cur = cur ? cur->next:NULL;
} while (cur || (start > 0 && end > 0));
if (sequence && strlen(sequence)) {
if (sequence && *sequence) {
fprintf(mh_sequences_new_fp, "%s%s\n",
get_unseen_seq_name(), sequence);
debug_print("wrote unseen sequence: '%s%s'\n",