Correct skipping source file line of msgctxt

Change-Id: I7aed7a75c6e9b36efca9837c0137075065bcd1e6
This commit is contained in:
Zolnai Tamás 2012-11-18 14:42:04 +01:00
parent d15706ec0a
commit c48c4ace36

View file

@ -252,10 +252,12 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream)
m_sMsgStr = lcl_GenNormString(sLine.copy(7));
pLastMsg = &m_sMsgStr;
}
else if (sLine.startsWith("\"") && pLastMsg &&
(pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\"") )
else if (sLine.startsWith("\"") && pLastMsg)
{
*pLastMsg += lcl_GenNormString(sLine);
if (pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\\n\"")
{
*pLastMsg += lcl_GenNormString(sLine);
}
}
else
break;