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:
Carl Worth 2009-10-23 06:06:20 -07:00
parent ce5d782962
commit db93109cfe

View file

@ -522,7 +522,7 @@ notmuch_tags_has_more (notmuch_tags_t *tags)
return FALSE; return FALSE;
s = *tags->iterator; s = *tags->iterator;
if (s.size () && s[0] == 'L') if (! s.empty () && s[0] == 'L')
return TRUE; return TRUE;
else else
return FALSE; return FALSE;