forked from enlightenment/efl
evas: add null checks for textblock stuff
this prevents a crash when starting verne but should be reverted when a more appropriate fix can be put in place ref T5585
This commit is contained in:
parent
a4fcc0595e
commit
4bf13c5c0c
|
@ -3437,7 +3437,7 @@ _layout_format_pop(Ctxt *c, const char *format)
|
|||
* I.e whole of the ending tag matches the start of the
|
||||
* starting tag, and the starting tag's next char is either
|
||||
* NULL or white. Skip the starting '+'. */
|
||||
if (_FORMAT_IS_CLOSER_OF(
|
||||
if (fmt->fnode && _FORMAT_IS_CLOSER_OF(
|
||||
fmt->fnode->orig_format, format + 1, len - 1))
|
||||
{
|
||||
_format_unref_free(c->obj, fmt);
|
||||
|
@ -3445,7 +3445,7 @@ _layout_format_pop(Ctxt *c, const char *format)
|
|||
}
|
||||
else
|
||||
{
|
||||
redo_nodes = eina_list_prepend(redo_nodes, fmt->fnode);
|
||||
if (fmt->fnode) redo_nodes = eina_list_prepend(redo_nodes, fmt->fnode);
|
||||
_format_unref_free(c->obj, fmt);
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue