Evas textblock: Fixed a type in remove_pair that caused issues with offset adjustment of formats.

SVN revision: 53092
This commit is contained in:
Tom Hacohen 2010-10-06 08:45:10 +00:00
parent f1cac3e69c
commit 9dc6cd0c51
1 changed files with 2 additions and 1 deletions

View File

@ -4362,9 +4362,10 @@ evas_textblock_node_format_remove_pair(Evas_Object *obj,
}
_evas_textblock_cursors_update_offset(&cur, n->text_node, index, -1);
}
_evas_textblock_node_format_remove(o, n, 1);
_evas_textblock_node_format_remove(o, n, 0);
if (pnode && (pnode != n))
{
/* pnode can never be visible! (it's the closing format) */
_evas_textblock_node_format_remove(o, pnode, 0);
}
_evas_textblock_changed(o, obj);