'[1219035] cleanup: miscellaneous' and minor source cleaning.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@34643 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -474,7 +474,7 @@ wxBitmap wxBitmap::Rescale( int clipx, int clipy, int clipwidth, int clipheight,
|
||||
if (!pixval)
|
||||
{
|
||||
char bit=1;
|
||||
char shift = bit << w % 8;
|
||||
char shift = bit << (w % 8);
|
||||
outbyte |= shift;
|
||||
}
|
||||
|
||||
@@ -537,7 +537,7 @@ wxBitmap wxBitmap::Rescale( int clipx, int clipy, int clipwidth, int clipheight,
|
||||
if (pixval)
|
||||
{
|
||||
char bit=1;
|
||||
char shift = bit << w % 8;
|
||||
char shift = bit << (w % 8);
|
||||
outbyte |= shift;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user