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:
George Tasker
2002-01-16 10:31:39 +00:00
parent 42fa962e31
commit b6e7d3e347

View File

@@ -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];