Enlightenment CVS committal
Author : dj2
Project : e17
Module : libs/etox
Dir : e17/libs/etox/test
Modified Files:
etox_test.c
Log Message:
- just do a strlen in etox_set_text as we want the full length
- only pass in the remaining size of the buffer in etox_get_text
- et->length contains the full length including \n's so remove the
incorrect comment
- this makes valgrind happier and my segvs with etox_test seem to have gone
away
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/etox/test/etox_test.c,v
retrieving revision 1.33
retrieving revision 1.34
diff -u -3 -r1.33 -r1.34
--- etox_test.c 18 Oct 2003 16:43:37 -0000 1.33
+++ etox_test.c 29 Nov 2004 19:51:27 -0000 1.34
@@ -299,7 +299,7 @@
etox_context_set_font(etox_get_context(e_msg), "sinon", 14);
etox_context_set_style(etox_get_context(e_msg), "shadow");
etox_context_set_color(etox_get_context(e_msg), 225, 225, 225, 255);
- etox_set_soft_wrap(e_msg, 1);
+ etox_set_soft_wrap(e_msg, 1);
etox_set_text(e_msg, msg);
etox_set_alpha(e_msg, 255);
evas_object_layer_set(e_msg, 1000);
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://productguide.itmanagersjournal.com/
_______________________________________________
enlightenment-cvs mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs