aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib
diff options
context:
space:
mode:
authorGravatar Louis Rilling <l.rilling@av7.net>2011-09-15 00:23:18 +0200
committerGravatar David Bremner <bremner@debian.org>2011-11-21 20:32:07 -0400
commit21b13c3932a73fcc906f8bbc13a0f2112bcebfb8 (patch)
tree77b4b37075351eab49d463d6026c283639396183 /lib
parentbdf38b5e0fb9674d482c439c1cdb077cd16cdc96 (diff)
lib: Kill last usage of C++ type bool
Signed-off-by: Louis Rilling <l.rilling@av7.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/message.cc12
1 files changed, 6 insertions, 6 deletions
diff --git a/lib/message.cc b/lib/message.cc
index ca7fbf21..8f1c4dcd 100644
--- a/lib/message.cc
+++ b/lib/message.cc
@@ -49,16 +49,16 @@ struct visible _notmuch_message {
struct maildir_flag_tag {
char flag;
const char *tag;
- bool inverse;
+ notmuch_bool_t inverse;
};
/* ASCII ordered table of Maildir flags and associated tags */
static struct maildir_flag_tag flag2tag[] = {
- { 'D', "draft", false},
- { 'F', "flagged", false},
- { 'P', "passed", false},
- { 'R', "replied", false},
- { 'S', "unread", true }
+ { 'D', "draft", FALSE},
+ { 'F', "flagged", FALSE},
+ { 'P', "passed", FALSE},
+ { 'R', "replied", FALSE},
+ { 'S', "unread", TRUE }
};
/* We end up having to call the destructor explicitly because we had