X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15f345aad37f2f499f5e631d86238325bf232e36..bf2c43c76e2819be443ab1d830ab68d9569d66b1:/src/common/gifdecod.cpp?ds=inline diff --git a/src/common/gifdecod.cpp b/src/common/gifdecod.cpp index 36e8ed276e..b478b31622 100644 --- a/src/common/gifdecod.cpp +++ b/src/common/gifdecod.cpp @@ -3,7 +3,6 @@ // Purpose: wxGIFDecoder, GIF reader for wxImage and wxAnimation // Author: Guillermo Rodriguez Garcia // Version: 3.04 -// RCS-ID: $Id$ // Copyright: (c) Guillermo Rodriguez Garcia // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -138,7 +137,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 +353,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;