mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
Fix MSVC6-poor scoping of forloop vars.
This commit is contained in:
parent
1f3329817f
commit
49c61085c8
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user