X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7679ac6334c85e41b90084ec5fb336945e352b81..55c020cf641a1e9db2e21a89aa62f85f4f23bc87:/src/common/gifdecod.cpp diff --git a/src/common/gifdecod.cpp b/src/common/gifdecod.cpp index 51451aa60c..78344a08c1 100644 --- a/src/common/gifdecod.cpp +++ b/src/common/gifdecod.cpp @@ -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);