Correct skipping source file line of msgctxt
Change-Id: I7aed7a75c6e9b36efca9837c0137075065bcd1e6
This commit is contained in:
parent
d15706ec0a
commit
c48c4ace36
1 changed files with 5 additions and 3 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue