1
0
mirror of https://github.com/vcmi/vcmi.git synced 2024-11-24 08:32:34 +02:00

Double quotation in artifacts events and bumped save format version.

This commit is contained in:
Michał W. Urbańczyk 2009-07-16 00:00:57 +00:00
parent ac175895b1
commit bb87a43a9f
2 changed files with 2 additions and 1 deletions

View File

@ -383,6 +383,7 @@ void CGeneralTextHandler::load()
loadToIt(tmp, strin, itr, 2);
// boost::algorithm::trim(tmp);
trimQuotation(tmp);
boost::algorithm::replace_all(temp,"\"\"","\"");
artifEvents.push_back(tmp);
}

View File

@ -19,7 +19,7 @@
#include <boost/mpl/identity.hpp>
#include <boost/type_traits/is_array.hpp>
const ui32 version = 706;
const ui32 version = 707;
class CConnection;
namespace mpl = boost::mpl;