Patch by Hyoyoung Chang.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/evas@66798
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Evas_Object_Textblock_Node_Format *fnode;
size_t fstr_len;
fstr_len = strlen(fstr);
- /* Generic popper, just pop */
- if (((fstr[0] == ' ') && !fstr[1]) || !fstr[0])
+ /* Generic popper, just pop (if there's anything to pop). */
+ if (formats && (((fstr[0] == ' ') && !fstr[1]) || !fstr[0]))
{
fnode = eina_list_data_get(formats);
formats = eina_list_remove_list(formats, formats);