forked from enlightenment/efl
parent
051b5f6fc7
commit
ed1aa8117a
|
@ -268,9 +268,8 @@ _strbuf_append(char *s, char *s2, int *len, int *alloc)
|
||||||
int l2;
|
int l2;
|
||||||
int tlen;
|
int tlen;
|
||||||
|
|
||||||
if (!s2) return s;
|
if ((!s2) || (!s2[0])) return s;
|
||||||
l2 = strlen(s2);
|
l2 = strlen(s2);
|
||||||
if (l2 == 0) return s;
|
|
||||||
tlen = *len + l2;
|
tlen = *len + l2;
|
||||||
if (tlen > *alloc)
|
if (tlen > *alloc)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue