From 64fcbe7603e36bb52ec626b0c9bb1bbe74f45638 Mon Sep 17 00:00:00 2001 From: "Dirk-Jan C. Binnema" Date: Sat, 11 Dec 2010 13:53:50 +0200 Subject: [PATCH] * mu-msg-file: cosmetics --- src/mu-msg-file.c | 6 ++---- src/mu-msg-file.h | 2 +- 2 files changed, 3 insertions(+), 5 deletions(-) diff --git a/src/mu-msg-file.c b/src/mu-msg-file.c index c31722c2..db90e414 100644 --- a/src/mu-msg-file.c +++ b/src/mu-msg-file.c @@ -109,7 +109,7 @@ mu_msg_file_get_flags_from_path (const char *path) /* only support the "2," format */ if (cursor && cursor[0] == '2' && cursor[1] == ',') { cursor += 2; /* jump past 2, */ - for (; *cursor; ++cursor) + for (; *cursor; ++cursor) { switch (*cursor) { case 'P': flags |= MU_MSG_FLAG_PASSED; @@ -130,6 +130,7 @@ mu_msg_file_get_flags_from_path (const char *path) flags |= MU_MSG_FLAG_FLAGGED; break; } + } } } g_free(info); @@ -285,6 +286,3 @@ mu_msg_file_get_path_from_flags (const char *oldpath, MuMsgFlags newflags) return newpath; } - - - diff --git a/src/mu-msg-file.h b/src/mu-msg-file.h index 883d9dc8..b9a09bba 100644 --- a/src/mu-msg-file.h +++ b/src/mu-msg-file.h @@ -39,7 +39,6 @@ G_BEGIN_DECLS */ MuMsgFlags mu_msg_file_get_flags_from_path (const char* pathname); - /** * get the new pathname for a message, based on the old path and the * new flags. Note that setting/removing the MU_MSG_FLAG_NEW will @@ -57,6 +56,7 @@ MuMsgFlags mu_msg_file_get_flags_from_path (const char* pathname); */ char* mu_msg_file_get_path_from_flags (const char *oldpath, MuMsgFlags newflags); + G_END_DECLS #endif /*__MU_MSG_FILE_H__*/