X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ccec90930cfc38bd4347a97f46481242d9fd23cd..5eed855656b3996f4c0aa0a585a4820a2af6d628:/src/common/imagtiff.cpp diff --git a/src/common/imagtiff.cpp b/src/common/imagtiff.cpp index 5a5c6cb5f9..5d8476daec 100644 --- a/src/common/imagtiff.cpp +++ b/src/common/imagtiff.cpp @@ -635,7 +635,7 @@ bool wxTIFFHandler::DoCanRead( wxInputStream& stream ) micro; const wxString ver(::TIFFGetVersion()); - if ( wxSscanf(ver, "LIBTIFF, Version %d.%d.%d", &major, µ, µ) != 3 ) + if ( wxSscanf(ver, "LIBTIFF, Version %d.%d.%d", &major, &minor, µ) != 3 ) { wxLogDebug("Unrecognized libtiff version string \"%s\"", ver);