From db93109cfef2de359a1cbfd3dc2ec08be480745e Mon Sep 17 00:00:00 2001 From: Carl Worth Date: Fri, 23 Oct 2009 06:06:20 -0700 Subject: [PATCH] notmuch_tags_has_more: Fix to use string.empty rather than string.size I'm really interested in the length of the data here, not the size of the storage. --- message.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/message.cc b/message.cc index 65e5ad78..ee0e8e1f 100644 --- a/message.cc +++ b/message.cc @@ -522,7 +522,7 @@ notmuch_tags_has_more (notmuch_tags_t *tags) return FALSE; s = *tags->iterator; - if (s.size () && s[0] == 'L') + if (! s.empty () && s[0] == 'L') return TRUE; else return FALSE; -- 2.43.0