From bb87a43a9f81055412dbe07a9fcc395841a37582 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20W=2E=20Urba=C5=84czyk?= Date: Thu, 16 Jul 2009 00:00:57 +0000 Subject: [PATCH] Double quotation in artifacts events and bumped save format version. --- hch/CGeneralTextHandler.cpp | 1 + lib/Connection.h | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/hch/CGeneralTextHandler.cpp b/hch/CGeneralTextHandler.cpp index 698c6a581..2b9894f36 100644 --- a/hch/CGeneralTextHandler.cpp +++ b/hch/CGeneralTextHandler.cpp @@ -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); } diff --git a/lib/Connection.h b/lib/Connection.h index 2d1eddf8b..e463dfea0 100644 --- a/lib/Connection.h +++ b/lib/Connection.h @@ -19,7 +19,7 @@ #include #include -const ui32 version = 706; +const ui32 version = 707; class CConnection; namespace mpl = boost::mpl;