diff --git a/src/messaging/maildirUtils.cpp b/src/messaging/maildirUtils.cpp index 697f46c6..4cf40c9c 100644 --- a/src/messaging/maildirUtils.cpp +++ b/src/messaging/maildirUtils.cpp @@ -127,11 +127,11 @@ const utility::file::path::component maildirUtils::buildFlags(const int flags) string str; str.reserve(6); + if (flags & message::FLAG_MARKED) str += "F"; + if (flags & message::FLAG_PASSED) str += "P"; if (flags & message::FLAG_REPLIED) str += "R"; if (flags & message::FLAG_SEEN) str += "S"; if (flags & message::FLAG_DELETED) str += "T"; - if (flags & message::FLAG_MARKED) str += "F"; - if (flags & message::FLAG_PASSED) str += "P"; return (utility::file::path::component(str)); }