Enlightenment CVS committal Author : raster Project : e17 Module : libs/etox
Dir : e17/libs/etox/src/style Modified Files: etox_style.c Log Message: bart's etox patches - seem to work with ewl. fixed an infinite loop issue with re-layout =================================================================== RCS file: /cvsroot/enlightenment/e17/libs/etox/src/style/etox_style.c,v retrieving revision 1.7 retrieving revision 1.8 diff -u -3 -r1.7 -r1.8 --- etox_style.c 7 Dec 2004 02:52:23 -0000 1.7 +++ etox_style.c 29 Jan 2005 03:46:17 -0000 1.8 @@ -6,6 +6,8 @@ #define DEFAULT_FONT "nationff" #define DEFAULT_SIZE 12 +//#define DEBUG ON + void __etox_style_update_position(Etox_Style *es); void __etox_style_update_dimensions(Etox_Style *es); void __etox_style_callback_dispatcher(void *_data, Evas *_e, Evas_Object *_o, @@ -428,6 +430,9 @@ */ void etox_style_set_text(Evas_Object *obj, char *text) { +#ifdef DEBUG + printf("etox_style_set_text() - called. text is (%s)\n", text); +#endif int i, scount; char *temp; Etox_Style *es; @@ -444,6 +449,9 @@ * characters needed. */ scount = es->length = strlen(text); +#ifdef DEBUG + printf("etox_style_set_text() - strlen returned %d\n", es->length); +#endif while (--scount > 0 && isspace(text[scount])); scount++; @@ -465,6 +473,9 @@ */ temp[scount + (2 * i)] = '\0'; evas_object_text_text_set(es->bit, temp); +#ifdef DEBUG + printf("etox_style_set_text() - setting object text to (%s)\n", temp); +#endif FREE(temp); /* ------------------------------------------------------- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl _______________________________________________ enlightenment-cvs mailing list enlightenment-cvs@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs