aboutsummaryrefslogtreecommitdiff
path: root/message.cc
diff options
context:
space:
mode:
authorCarl Worth <cworth@cworth.org>2009-10-23 06:06:20 -0700
committerCarl Worth <cworth@cworth.org>2009-10-23 06:06:20 -0700
commitdb93109cfef2de359a1cbfd3dc2ec08be480745e (patch)
tree16b2a5934eef7a3e6e9f12721441b4a4f37f2ea1 /message.cc
parentce5d78296251b529838df0dbd4dc3b9a90030924 (diff)
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.
Diffstat (limited to 'message.cc')
-rw-r--r--message.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/message.cc b/message.cc
index 65e5ad7..ee0e8e1 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;