diff options
author | Carl Worth <cworth@cworth.org> | 2009-10-23 06:06:20 -0700 |
---|---|---|
committer | Carl Worth <cworth@cworth.org> | 2009-10-23 06:06:20 -0700 |
commit | db93109cfef2de359a1cbfd3dc2ec08be480745e (patch) | |
tree | 16b2a5934eef7a3e6e9f12721441b4a4f37f2ea1 /message.cc | |
parent | ce5d78296251b529838df0dbd4dc3b9a90030924 (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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |