Evas textblock: Don't allow overwriting the format stack.

SVN revision: 59320
This commit is contained in:
Tom Hacohen 2011-05-11 08:35:09 +00:00
parent fd25efda3a
commit faba2810b4
1 changed files with 2 additions and 0 deletions

View File

@ -2953,10 +2953,12 @@ _layout_do_format(const Evas_Object *obj __UNUSED__, Ctxt *c,
if (!handled)
{
Eina_Bool push_fmt = EINA_FALSE;
if (s[0] == '+')
{
fmt = _layout_format_push(c, fmt);
s++;
push_fmt = EINA_TRUE;
}
else if (s[0] == '-')
{