tasn pushed a commit to branch efl-1.8.

http://git.enlightenment.org/core/efl.git/commit/?id=fda5f7bda210742e8dab48a4d2ea975b81063fc2

commit fda5f7bda210742e8dab48a4d2ea975b81063fc2
Author: Tom Hacohen <t...@stosb.com>
Date:   Fri Dec 13 14:41:49 2013 +0000

    Evas textblock: Fixed deletion of ranges ending with visual formats.
    
    This is a regression introduced in:
    3f3ad67616d491c40e4c7c34d3927896f80b8caa
---
 src/lib/evas/canvas/evas_object_textblock.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/evas/canvas/evas_object_textblock.c 
b/src/lib/evas/canvas/evas_object_textblock.c
index 0554f45..5d61788 100644
--- a/src/lib/evas/canvas/evas_object_textblock.c
+++ b/src/lib/evas/canvas/evas_object_textblock.c
@@ -7832,7 +7832,7 @@ 
_evas_textblock_node_text_adjust_offsets_to_start(Evas_Object_Textblock *o,
              last_node->offset -= delta;
              break;
           }
-        else if (use_end && itr && (pos + itr->offset >= (size_t) end) &&
+        else if (use_end && itr && (pos + itr->offset > (size_t) end) &&
               itr->visible)
           {
              break;

-- 


Reply via email to