]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/gifdecod.cpp
fixed serious bug in wxFont::operator== (ignored weight)
[wxWidgets.git] / src / common / gifdecod.cpp
index 51451aa60c4168757a62af36a9631a6b2a4d4068..78344a08c1b2cd72626c8acfdeccfe765ca1113d 100644 (file)
@@ -588,8 +588,12 @@ int wxGIFDecoder::ReadGIF()
 
            /* fill in the data */
            m_f->Read(buf, 9);
+           pimg->left = buf[0] + 256 * buf[1];
+           pimg->top = buf[2] + 256 * buf[3];
+/*
            pimg->left = buf[4] + 256 * buf[5];
            pimg->top = buf[4] + 256 * buf[5];
+*/
            pimg->w = buf[4] + 256 * buf[5];
            pimg->h = buf[6] + 256 * buf[7];
            interl = ((buf[8] & 0x40)? 1 : 0);