]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagtiff.cpp
Small bug fixes for GetLibraryVersionInfo() changes.
[wxWidgets.git] / src / common / imagtiff.cpp
index 5a5c6cb5f991c9e9d0dbb1f50ac671a9bc014022..5d8476daec91218bb557fb0a0082462a5af75270 100644 (file)
@@ -635,7 +635,7 @@ bool wxTIFFHandler::DoCanRead( wxInputStream& stream )
         micro;
 
     const wxString ver(::TIFFGetVersion());
-    if ( wxSscanf(ver, "LIBTIFF, Version %d.%d.%d", &major, &micro, &micro) != 3 )
+    if ( wxSscanf(ver, "LIBTIFF, Version %d.%d.%d", &major, &minor, &micro) != 3 )
     {
         wxLogDebug("Unrecognized libtiff version string \"%s\"", ver);