Enlightenment CVS committal
Author : onefang
Project : e_modules
Module : net
Dir : e_modules/net
Modified Files:
e_mod_main.c
Log Message:
Fix second graph render wierdness, and CPU eating, plus some extra paranoia.
===================================================================
RCS file: /cvs/e/e_modules/net/e_mod_main.c,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -3 -r1.22 -r1.23
--- e_mod_main.c 3 Apr 2006 10:24:23 -0000 1.22
+++ e_mod_main.c 4 Apr 2006 10:22:47 -0000 1.23
@@ -655,7 +655,7 @@
nf->old_rx = evas_list_prepend(nf->old_rx, o);
l = nf->old_rx;
- for (i = (x + w); l && (j -2) < w; l = l->next, j++)
+ for (i = (x + w); l && ((j -2) < w); l = l->next, j++)
{
Evas_Coord oy;
Evas_Object *lo;
@@ -672,6 +672,8 @@
evas_object_del(last);
}
+ j = 0;
+ last = NULL;
o = evas_object_line_add(nf->evas);
edje_object_part_swallow(nf->chart_obj, "lines", o);
evas_object_layer_set(o, 1);
@@ -687,7 +689,7 @@
nf->old_tx = evas_list_prepend(nf->old_tx, o);
l = nf->old_tx;
- for (i = (x + w); l && (j -2) < w; l = l->next, j++)
+ for (i = (x + w); l && ((j -2) < w); l = l->next, j++)
{
Evas_Coord oy;
Evas_Object *lo;
-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs