From: Louis Rilling Date: Wed, 14 Sep 2011 22:23:18 +0000 (+0200) Subject: lib: Kill last usage of C++ type bool X-Git-Tag: 0.11_rc1~117 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=21b13c3932a73fcc906f8bbc13a0f2112bcebfb8 lib: Kill last usage of C++ type bool Signed-off-by: Louis Rilling --- 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