1
0
mirror of https://github.com/vcmi/vcmi.git synced 2025-03-25 21:38:59 +02:00

Fixed #262 (double quotes in some messages).

This commit is contained in:
yupsi 2011-10-19 07:06:08 +00:00
parent 95f23cf20f
commit 092dac1f63

View File

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