2
0
Эх сурвалжийг харах

Fixed #262 (double quotes in some messages).

yupsi 14 жил өмнө
parent
commit
092dac1f63

+ 2 - 2
lib/CGeneralTextHandler.cpp

@@ -349,7 +349,7 @@ void CGeneralTextHandler::load()
 	{
 	{
 		loadToIt(buflet, buf, i, 2);
 		loadToIt(buflet, buf, i, 2);
 		trimQuotation(buflet);
 		trimQuotation(buflet);
-		boost::algorithm::replace_all(temp,"\"\"","\"");
+		boost::algorithm::replace_all(buflet,"\"\"","\"");
 		allTexts.push_back(buflet);
 		allTexts.push_back(buflet);
 	}
 	}
 
 
@@ -430,7 +430,7 @@ void CGeneralTextHandler::load()
 		loadToIt(tmp, strin, itr, 2);
 		loadToIt(tmp, strin, itr, 2);
 	//	boost::algorithm::trim(tmp);
 	//	boost::algorithm::trim(tmp);
 		trimQuotation(tmp);
 		trimQuotation(tmp);
-		boost::algorithm::replace_all(temp,"\"\"","\"");
+		boost::algorithm::replace_all(tmp,"\"\"","\"");
 		artifEvents.push_back(tmp);
 		artifEvents.push_back(tmp);
 	}
 	}