forked from enlightenment/efl
If icon_class ends up being blank, then free and null it.
Thanks to jeffdameth for pointing out the problem. SVN revision: 26240
This commit is contained in:
parent
2190ed562a
commit
481c47b748
|
@ -413,6 +413,11 @@ _ecore_desktop_get(const char *file, const char *lang)
|
||||||
*p = tolower(*p);
|
*p = tolower(*p);
|
||||||
p++;
|
p++;
|
||||||
}
|
}
|
||||||
|
if (result->icon_class[0] == '\0')
|
||||||
|
{
|
||||||
|
free(result->icon_class);
|
||||||
|
result->icon_class = NULL;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue