From: George Tasker <gtasker@allenbrook.com> Date: Wed, 16 Jan 2002 10:31:39 +0000 (+0000) Subject: Fixed a '&' that should be an '&&' X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b6e7d3e347f3720d431d68a2a02078ebe1704941 Fixed a '&' that should be an '&&' git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@13600 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/iffdecod.cpp b/src/common/iffdecod.cpp index ddf833a174..423f182d10 100644 --- a/src/common/iffdecod.cpp +++ b/src/common/iffdecod.cpp @@ -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];