瀏覽代碼

Double quotation in artifacts events and bumped save format version.

Michał W. Urbańczyk 16 年之前
父節點
當前提交
bb87a43a9f
共有 2 個文件被更改,包括 2 次插入1 次删除
  1. 1 0
      hch/CGeneralTextHandler.cpp
  2. 1 1
      lib/Connection.h

+ 1 - 0
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);
 	}
 

+ 1 - 1
lib/Connection.h

@@ -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;