Enlightenment CVS committal
Author : moom
Project : e17
Module : proto
Dir : e17/proto/etk/src/lib
Modified Files:
etk_editable.c
Log Message:
* [Editable] Fix deletion of multi-bytes chars in the entry. Thanks to
olofsj for spotting this :)
===================================================================
RCS file: /cvs/e/e17/proto/etk/src/lib/etk_editable.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -3 -r1.3 -r1.4
--- etk_editable.c 28 Nov 2006 21:40:07 -0000 1.3
+++ etk_editable.c 27 Dec 2006 12:03:41 -0000 1.4
@@ -808,7 +808,7 @@
if (end_id <= start_id)
return 0;
- etk_string_delete(sd->text, start, end - start);
+ etk_string_delete(sd->text, start_id, end_id - start_id);
sd->unicode_length -= (end - start);
_etk_editable_text_update(editable);
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs