X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79fa23744b2c622ebe9ff89a3ee8c8ec8017ee3b..05159a2750ed2cc5945a85bc5fc6849ad1a30e75:/src/common/imagtiff.cpp diff --git a/src/common/imagtiff.cpp b/src/common/imagtiff.cpp index 48ca43ab98..16c952d297 100644 --- a/src/common/imagtiff.cpp +++ b/src/common/imagtiff.cpp @@ -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'); }