X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4d37f425ff99077796428e69fee69ebf9c2fc6a5..74a8f67d96591cec101def2a7d47c64072aff7fd:/src/common/imagtiff.cpp diff --git a/src/common/imagtiff.cpp b/src/common/imagtiff.cpp index 5e69ff9f5b..2501e91f3e 100644 --- a/src/common/imagtiff.cpp +++ b/src/common/imagtiff.cpp @@ -344,7 +344,7 @@ bool wxTIFFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbos } image->Create( (int)w, (int)h ); - if (!image->Ok()) + if (!image->IsOk()) { if (verbose) {