]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagtiff.cpp
Fix for Unicode conversion.
[wxWidgets.git] / src / common / imagtiff.cpp
index 48ca43ab9856c737e2980d08925d94970610ff79..16c952d297020d7d399ab2730a928017e081e345 100644 (file)
@@ -373,8 +373,6 @@ bool wxTIFFHandler::DoCanRead( wxInputStream& stream )
     if ( !stream.Read(&hdr, WXSIZEOF(hdr)) )
         return FALSE;
 
-    stream.SeekI(-WXSIZEOF(hdr), wxFromCurrent);
-
     return (hdr[0] == 'I' && hdr[1] == 'I') ||
            (hdr[0] == 'M' && hdr[1] == 'M');
 }