Fix MSVC6-poor scoping of forloop vars.

This commit is contained in:
benjamin%smedbergs.us 2006-02-23 18:41:45 +00:00
parent 1f3329817f
commit 49c61085c8

View File

@ -389,7 +389,7 @@ TransformRect(float* aX, float *aY, float* aWidth, float *aHeight,
float xmin, xmax, ymin, ymax;
xmin = xmax = x[0];
ymin = ymax = y[0];
for (int i=1; i<4; i++) {
for (i=1; i<4; i++) {
if (x[i] < xmin)
xmin = x[i];
if (y[i] < ymin)