]> git.notmuchmail.org Git - notmuch/commitdiff
lib: Kill last usage of C++ type bool
authorLouis Rilling <l.rilling@av7.net>
Wed, 14 Sep 2011 22:23:18 +0000 (00:23 +0200)
committerDavid Bremner <bremner@debian.org>
Tue, 22 Nov 2011 00:32:07 +0000 (20:32 -0400)
Signed-off-by: Louis Rilling <l.rilling@av7.net>
lib/message.cc

index ca7fbf21f19262d6dd69c0f8cc1429685817fb71..8f1c4dcd5b40f9492a56a2be5288bccbc3bd9d3e 100644 (file)
@@ -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