]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/imagpcx.cpp
Allow building wxProtocol without wxUSE_SOCKETS
[wxWidgets.git] / src / common / imagpcx.cpp
index 1b9874db40fefc3e6db88ce116eea19a51baeba7..64a4d246b0efa5058f7aec2cfe7ed9524243ad88 100644 (file)
@@ -490,8 +490,6 @@ bool wxPCXHandler::DoCanRead( wxInputStream& stream )
     if ( !stream )
         return FALSE;
 
-    stream.SeekI(-1, wxFromCurrent);
-
     // not very safe, but this is all we can get from PCX header :-(
     return c == 10;
 }