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:
@@ -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;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user