Evas textblock: Fixed a possible invalid mem write.

SVN revision: 67580
This commit is contained in:
Tom Hacohen 2012-01-29 10:01:27 +00:00
parent 279a7c3c91
commit 107d92d428
1 changed files with 1 additions and 1 deletions

View File

@ -7679,6 +7679,7 @@ evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_C
}
fnode = _evas_textblock_cursor_node_format_at_pos_get(cur1);
n1->dirty = n2->dirty = EINA_TRUE;
if (should_merge)
{
/* We call this function instead of the cursor one because we already
@ -7692,7 +7693,6 @@ evas_textblock_cursor_range_delete(Evas_Textblock_Cursor *cur1, Evas_Textblock_C
evas_textblock_cursor_copy(cur1, o->cursor);
_evas_textblock_changed(o, cur1->obj);
n1->dirty = n2->dirty = EINA_TRUE;
}