From: Fridrich S. <str...@us...> - 2010-06-08 05:32:39
|
Update of /cvsroot/libwpg/libwpg/src/lib In directory sfp-cvsdas-2.v30.ch3.sourceforge.com:/tmp/cvs-serv23554/src/lib Modified Files: WPGraphics.cpp Log Message: better this Index: WPGraphics.cpp =================================================================== RCS file: /cvsroot/libwpg/libwpg/src/lib/WPGraphics.cpp,v retrieving revision 1.18 retrieving revision 1.19 diff -u -d -r1.18 -r1.19 --- WPGraphics.cpp 8 Jun 2010 05:09:26 -0000 1.18 +++ WPGraphics.cpp 8 Jun 2010 05:32:31 -0000 1.19 @@ -130,7 +130,7 @@ tmpMajorVersion = (unsigned char)(header.majorVersion()); if (tmpMajorVersion == 0x01) { - unsigned long returnPosition = graphics->tell(); + unsigned long returnPosition = header.startOfDocument(); /* Due to a bug in dumping mechanism, we produced * invalid WPG files by prepending a WPG1 header * to a valid WP file. Let us check this kind of files, |