X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8faef7ccbc4b4e192da06de7e1a2a7f1dff7ec91..ffe42ca62784654b0a82555952c7e9bbf871019a:/src/common/imaggif.cpp?ds=sidebyside diff --git a/src/common/imaggif.cpp b/src/common/imaggif.cpp index cd81463b49..fdb9a4971d 100644 --- a/src/common/imaggif.cpp +++ b/src/common/imaggif.cpp @@ -89,7 +89,9 @@ bool wxGIFHandler::SaveFile( wxImage * WXUNUSED(image), wxOutputStream& WXUNUSED(stream), bool verbose ) { if (verbose) + { wxLogDebug(wxT("GIF: the handler is read-only!!")); + } return false; } @@ -107,7 +109,7 @@ int wxGIFHandler::DoGetImageCount( wxInputStream& stream ) wxGIFErrorCode error = decod.LoadGIF(stream); if ( (error != wxGIF_OK) && (error != wxGIF_TRUNCATED) ) return -1; - + // NOTE: this function modifies the current stream position but it's ok // (see wxImageHandler::GetImageCount)