fix core on imlib_list_fonts()

SVN revision: 3042
This commit is contained in:
Tom Gilbert 2000-08-06 19:41:13 +00:00
parent 8d141765c0
commit 7389e00d31
1 changed files with 1 additions and 1 deletions

View File

@ -780,7 +780,7 @@ __imlib_list_fonts(int *num_ret)
{
TT_Face f;
path = malloc(strlen(fpath[i]) + 1 + strlen(dir[j] + 1));
path = malloc(strlen(fpath[i]) + 1 + strlen(dir[j]) + 1);
strcpy(path, fpath[i]);
strcat(path, "/");
strcat(path, dir[j]);