projects
/
notmuch.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ce5d782
)
notmuch_tags_has_more: Fix to use string.empty rather than string.size
author
Carl Worth
<cworth@cworth.org>
Fri, 23 Oct 2009 13:06:20 +0000
(06:06 -0700)
committer
Carl Worth
<cworth@cworth.org>
Fri, 23 Oct 2009 13:06:20 +0000
(06:06 -0700)
I'm really interested in the length of the data here, not the size
of the storage.
message.cc
patch
|
blob
|
history
diff --git
a/message.cc
b/message.cc
index 65e5ad78a269b6da86ef5a3b7c289871d8096712..ee0e8e1f80502f81aa74c7cfc3994866e852ef41 100644
(file)
--- 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;