Reformat a couple of for loops

Only whitespace changes.
This commit is contained in:
Vadim Zeitlin
2019-01-21 23:31:39 +01:00
parent 8412a40b90
commit 99b0efcdf2

View File

@@ -114,9 +114,9 @@ wxRegion::wxRegion(const wxBitmap& bmp, const wxColour& transp, int tolerance)
QImage img(bmp.GetHandle()->toImage());
const int r = transp.Red(), g = transp.Green(), b = transp.Blue();
for(int y=0; y<img.height(); y++)
for ( int y = 0; y < img.height(); y++ )
{
for(int x=0; x<img.width(); x++)
for ( int x = 0; x < img.width(); x++ )
{
const QColor c = img.pixel(x, y);
if ( abs(c.red() - r ) > tolerance ||