make sure string is null terminated after char append

SVN revision: 28298
This commit is contained in:
rephorm 2007-02-09 12:20:49 +00:00 committed by rephorm
parent 8daf0e0341
commit 9c88e07f13
1 changed files with 1 additions and 0 deletions

View File

@ -1315,6 +1315,7 @@ efreet_string_append_char(char *dest, int *size, int *len, char c)
}
dest[(*len)++] = c;
dest[*len] = '\0';
return dest;
}