From: <vo...@us...> - 2013-01-10 06:52:29
|
Revision: 3322 http://moneymanagerex.svn.sourceforge.net/moneymanagerex/?rev=3322&view=rev Author: vomikan Date: 2013-01-10 06:52:20 +0000 (Thu, 10 Jan 2013) Log Message: ----------- fix Modified Paths: -------------- trunk/mmex/src/util.cpp Modified: trunk/mmex/src/util.cpp =================================================================== --- trunk/mmex/src/util.cpp 2013-01-09 14:30:57 UTC (rev 3321) +++ trunk/mmex/src/util.cpp 2013-01-10 06:52:20 UTC (rev 3322) @@ -897,7 +897,7 @@ /*reading full stream (and size)*/ in_stream->Read(oStream); - const size_t size = in_stream->LastRead(); + const size_t size = in_stream->LastRead()-1; char* buffer = new char[size]; oStream.SeekO(0); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |