Bug 562582 - suggest parentheses around assignment used as truth value in nsRegion::ToOutsidePixels, r=roc

This commit is contained in:
timeless@mozdev.org 2010-04-28 23:20:00 -07:00
Родитель 866a2d6e08
Коммит 8cc3d5b0d9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -1292,7 +1292,7 @@ nsIntRegion nsRegion::ToOutsidePixels(nscoord aAppUnitsPerPixel) const {
nsIntRegion result;
nsRegionRectIterator rgnIter(*this);
const nsRect *currentRect;
while (currentRect = rgnIter.Next()) {
while ((currentRect = rgnIter.Next())) {
nsIntRect deviceRect = currentRect->ToOutsidePixels(aAppUnitsPerPixel);
result.Or(result, deviceRect);
}