Wrap variable initializations after '=' consistently

Replace a few occurrences of

        type var
            = value;

with

        type var =
            value;

which is used much more widely in wx sources for consistency.

Also get rid of a couple of such lines, when it could be done easily.

No real changes.
This commit is contained in:
Vadim Zeitlin
2019-11-22 00:53:45 +01:00
parent 59d1cb8756
commit 2bc6e50ede
9 changed files with 21 additions and 22 deletions

View File

@@ -804,8 +804,8 @@ bool wxTIFFHandler::SaveFile( wxImage *image, wxOutputStream& stream, bool verbo
if (hasAlpha)
{
value = image->GetAlpha(column, row);
buf[column*bytesPerPixel+1]
= minIsWhite ? 255 - value : value;
buf[column*bytesPerPixel+1] = minIsWhite ? 255 - value
: value;
}
}
}