forked from enlightenment/efl
- make sure the string isn't blank before appending it
SVN revision: 17560
This commit is contained in:
parent
5f828e6fdb
commit
051b5f6fc7
|
@ -270,6 +270,7 @@ _strbuf_append(char *s, char *s2, int *len, int *alloc)
|
|||
|
||||
if (!s2) return s;
|
||||
l2 = strlen(s2);
|
||||
if (l2 == 0) return s;
|
||||
tlen = *len + l2;
|
||||
if (tlen > *alloc)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue