]> rtime.felk.cvut.cz Git - notmuch.git/blobdiff - notmuch-show.c
correct message flag enum value so that it matches the type
[notmuch.git] / notmuch-show.c
index f189e943488e69b7397a61c87e23ca4a4aaa06fe..13c91e47f17cee399d881af125ad2907916c5d56 100644 (file)
@@ -158,7 +158,7 @@ show_message (void *ctx, notmuch_message_t *message, int indent)
     printf ("\fmessage{ id:%s depth:%d match:%d filename:%s\n",
            notmuch_message_get_message_id (message),
            indent,
-           notmuch_message_get_flag (message, NOTMUCH_MSG_FLAG_MATCHING_SEARCH),
+           notmuch_message_get_flag (message, NOTMUCH_MESSAGE_FLAG_MATCH),
            notmuch_message_get_filename (message));
 
     printf ("\fheader{\n");