fix parse error when there are no tags... :)

SVN revision: 16345
This commit is contained in:
Carsten Haitzler 2005-08-25 15:23:16 +00:00
parent c05660f264
commit 44e0a11a43
1 changed files with 5 additions and 0 deletions

View File

@ -2294,6 +2294,11 @@ evas_object_textblock2_text_markup_set(Evas_Object *obj, const char *text)
}
esc_start = esc_end = NULL;
}
else if (*p == 0)
{
_append_text_run(o, s, p);
s = NULL;
}
if (*p == 0)
break;
}