projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Patch [ 588837 ] Fixes comment style in gsocket.*
[wxWidgets.git]
/
src
/
common
/
imagpng.cpp
diff --git
a/src/common/imagpng.cpp
b/src/common/imagpng.cpp
index cfdf35d5fb5f269ab9bbf80c455459a6b3a1e190..b1fea3c1fef766158cb0cdeb0d153db1d0dbb2d8 100644
(file)
--- a/
src/common/imagpng.cpp
+++ b/
src/common/imagpng.cpp
@@
-421,8
+421,6
@@
bool wxPNGHandler::DoCanRead( wxInputStream& stream )
if ( !stream.Read(hdr, WXSIZEOF(hdr)) )
return FALSE;
if ( !stream.Read(hdr, WXSIZEOF(hdr)) )
return FALSE;
- stream.SeekI(-WXSIZEOF(hdr), wxFromCurrent);
-
return memcmp(hdr, "\211PNG", WXSIZEOF(hdr)) == 0;
}
return memcmp(hdr, "\211PNG", WXSIZEOF(hdr)) == 0;
}