Fixed a '&' that should be an '&&'
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -530,7 +530,7 @@ int wxIFFDecoder::ReadIFF()
|
||||
} else if (fmt == ILBM_HAM8) {
|
||||
int c = (col & 0x3f);
|
||||
switch(col & 0xc0) {
|
||||
case 0x00: if (c >= 0 & c < colors) {
|
||||
case 0x00: if (c >= 0 && c < colors) {
|
||||
rval = pal[3*c + 0];
|
||||
gval = pal[3*c + 1];
|
||||
bval = pal[3*c + 2];
|
||||
|
Reference in New Issue
Block a user