mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-22 02:48:08 +01:00
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.
This commit is contained in:
parent
ce5d782962
commit
db93109cfe
1 changed files with 1 additions and 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;
|
||||
|
|
Loading…
Reference in a new issue