forked from enlightenment/efl
make sure string is null terminated after char append
SVN revision: 28298
This commit is contained in:
parent
8daf0e0341
commit
9c88e07f13
|
@ -1315,6 +1315,7 @@ efreet_string_append_char(char *dest, int *size, int *len, char c)
|
|||
}
|
||||
|
||||
dest[(*len)++] = c;
|
||||
dest[*len] = '\0';
|
||||
|
||||
return dest;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue