]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagbmp.cpp
Added sqltypes.h (for Cygwin b20), some other Cygwin fixes.
[wxWidgets.git] / src / common / imagbmp.cpp
index dca81ce5fc9bc51d40aeab326bc5b1481d6defc2..7b6f02cb3f7c28f589c9f70cc171070bda2860d9 100644 (file)
@@ -366,7 +366,7 @@ bool wxBMPHandler::LoadFile( wxImage *image, wxInputStream& stream, bool WXUNUSE
                    ptr[poffset] = temp;
                    temp = (aWord & gmask) >> gshift;
                    ptr[poffset + 1] = temp;
-                   temp = (aWord & bmask) >> gshift;
+                   temp = (aWord & bmask) >> bshift;
                    ptr[poffset + 2] = temp;
                    column++;
                }