]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagjpeg.cpp
fixed wxBase compilation (what was msgdlg.h doing in wxchar.cpp?)
[wxWidgets.git] / src / common / imagjpeg.cpp
index a36895eb111201b359d8e162e4c40ba4950c913c..c2525bae43fcf288e561e5f091b17f3e87aea94c 100644 (file)
@@ -381,7 +381,6 @@ bool wxJPEGHandler::DoCanRead( wxInputStream& stream )
     if ( !stream.Read(hdr, WXSIZEOF(hdr)) )
         return FALSE;
 
-    stream.SeekI(-WXSIZEOF(hdr), wxFromCurrent);
     return hdr[0] == 0xFF && hdr[1] == 0xD8;
 }