* optionally ignore invalid (unknown) message flag letters, update callers

This commit is contained in:
djcb
2012-06-01 14:03:43 +02:00
parent 7008e108ae
commit 895ab10a4b
6 changed files with 22 additions and 11 deletions

View File

@ -832,7 +832,8 @@ get_flags (const char *path, const char *flagstr)
return mu_flags_from_str_delta (flagstr, oldflags,
MU_FLAG_TYPE_ANY);
} else
return mu_flags_from_str (flagstr, MU_FLAG_TYPE_ANY);
return mu_flags_from_str (flagstr, MU_FLAG_TYPE_ANY,
TRUE /*ignore invalid*/);
}
}