ooooh that would leak if we added the same path all the time... which shoudl

be ignored... :)


SVN revision: 5155
This commit is contained in:
Carsten Haitzler 2001-08-13 23:24:13 +00:00
parent c0a35f2a2f
commit 1889718e75
1 changed files with 1 additions and 0 deletions

View File

@ -2605,6 +2605,7 @@ imlib_add_path_to_font_path(const char *path)
{
if (!ctx) ctx = imlib_context_new();
CHECK_PARAM_POINTER("imlib_add_path_to_font_path", "path", path);
__imlib_del_font_path(path);
__imlib_add_font_path(path);
}