Enlightenment CVS committal
Author : rbdpngn
Project : e17
Module : libs/ewl
Dir : e17/libs/ewl/src/lib
Modified Files:
ewl_text.c
Log Message:
Fix text corruption dan found while porting to tb2.
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ewl/src/lib/ewl_text.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -u -3 -r1.25 -r1.26
--- ewl_text.c 10 Oct 2005 23:40:38 -0000 1.25
+++ ewl_text.c 15 Oct 2005 23:08:03 -0000 1.26
@@ -443,6 +443,7 @@
memcpy(t->text + idx, text, len);
}
t->length += len;
+ t->text[t->length] = '\0';
ewl_text_btree_text_context_insert(t->formatting,
t->current_context, idx, len);
t->cursor_position = idx + len;
-------------------------------------------------------
This SF.Net email is sponsored by:
Power Architecture Resource Center: Free content, downloads, discussions,
and more. http://solutions.newsforge.com/ibmarch.tmpl
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs