Enlightenment CVS committal
Author : kwo
Project : e16
Module : e
Dir : e16/e/src
Modified Files:
arrange.c
Log Message:
Fix incorrect index range.
===================================================================
RCS file: /cvs/e/e16/e/src/arrange.c,v
retrieving revision 1.94
retrieving revision 1.95
diff -u -3 -r1.94 -r1.95
--- arrange.c 2 May 2006 23:27:39 -0000 1.94
+++ arrange.c 12 May 2006 12:05:27 -0000 1.95
@@ -110,7 +110,7 @@
x1 = x2 = k;
break;
}
- for (k++; k < xsize; k++)
+ for (k++; k < xsize - 1; k++)
if (sorted[j].x + sorted[j].w > xarray[k])
x2 = k;
for (k = 0; k < ysize - 1; k++)
@@ -119,7 +119,7 @@
y1 = y2 = k;
break;
}
- for (k++; k < ysize; k++)
+ for (k++; k < ysize - 1; k++)
if (sorted[j].y + sorted[j].h > yarray[k])
y2 = k;
#if DEBUG_ARRANGE
-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs