forked from enlightenment/efl
tweak. if edje_fontset_append_set() is passed NULL, free the global variable and set it to NULL instead of not doing anything
SVN revision: 13964
This commit is contained in:
parent
c095b1e9fd
commit
9f1af178f3
|
@ -44,11 +44,9 @@ edje_thaw(void)
|
|||
void
|
||||
edje_fontset_append_set(char *fonts)
|
||||
{
|
||||
if (!fonts) return;
|
||||
|
||||
if (_edje_fontset_append)
|
||||
free(_edje_fontset_append);
|
||||
_edje_fontset_append = strdup(fonts);
|
||||
_edje_fontset_append = fonts ? strdup(fonts) : NULL;
|
||||
}
|
||||
|
||||
/* FIXDOC: Expand */
|
||||
|
|
Loading…
Reference in New Issue