forked from enlightenment/efl
oops, eina_stringshare_strlen() should never account '\0'.
SVN revision: 38260
This commit is contained in:
parent
15a2b2aaf2
commit
765b770f82
|
@ -1112,7 +1112,7 @@ eina_stringshare_strlen(const char *str)
|
|||
if (str[3] == '\0') return 3;
|
||||
|
||||
node = _eina_stringshare_node_from_str(str);
|
||||
return node->length;
|
||||
return node->length - 1;
|
||||
}
|
||||
|
||||
struct dumpinfo
|
||||
|
|
Loading…
Reference in New Issue