]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagtiff.cpp
don't crash in UnselectAll() if the tree has no root
[wxWidgets.git] / src / common / imagtiff.cpp
index cf49f4aa82c51937f84beafeee61f155bf009d2a..989a1600a203b92e0486fa7418a562cc8fdd76bf 100644 (file)
@@ -271,7 +271,7 @@ bool wxTIFFHandler::LoadFile( wxImage *image, wxInputStream& stream, bool verbos
     return TRUE;
 }
 
-int wxTIFFHandler::GetImagesCount( wxInputStream& stream )
+int wxTIFFHandler::GetImageCount( wxInputStream& stream )
 {
     TIFF *tif = TIFFwxOpen( stream, "image", "r" );