X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15f345aad37f2f499f5e631d86238325bf232e36..64ea838d8f4d1853b7d850db93ee565e901d099a:/src/common/gifdecod.cpp diff --git a/src/common/gifdecod.cpp b/src/common/gifdecod.cpp index 36e8ed276e..b853ee97a9 100644 --- a/src/common/gifdecod.cpp +++ b/src/common/gifdecod.cpp @@ -138,7 +138,7 @@ bool wxGIFDecoder::ConvertToImage(unsigned int frame, wxImage *image) const image->Create(sz.GetWidth(), sz.GetHeight()); image->SetType(wxBITMAP_TYPE_GIF); - if (!image->Ok()) + if (!image->IsOk()) return false; pal = GetPalette(frame); @@ -354,7 +354,7 @@ wxGIFDecoder::dgif(wxInputStream& stream, GIFImage *img, int interl, int bits) ab_clr = (1 << bits); ab_fin = (1 << bits) + 1; - // these will change through the decompression proccess + // these will change through the decompression process ab_bits = bits + 1; ab_free = (1 << bits) + 2; ab_max = (1 << ab_bits) - 1;