diff options
author | Zolnai Tamás <zolnaitamas2000g@gmail.com> | 2012-11-18 14:38:47 +0100 |
---|---|---|
committer | Zolnai Tamás <zolnaitamas2000g@gmail.com> | 2012-11-18 14:38:47 +0100 |
commit | ce48aa1488652ba8b24ada4d62b75aacf3ef6717 (patch) | |
tree | e7b2e2eefa41fb987c541bc1e7c873b8ae41eec2 /l10ntools | |
parent | 7f81bbb1c7f090d9e962e5c2cb7b694298bfe1c8 (diff) |
Revert "Correct skiping source file line of msgctxt"
This reverts commit 7f81bbb1c7f090d9e962e5c2cb7b694298bfe1c8.
Diffstat (limited to 'l10ntools')
-rw-r--r-- | l10ntools/source/po.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/l10ntools/source/po.cxx b/l10ntools/source/po.cxx index e59db110dcc7..ce71207ec3e5 100644 --- a/l10ntools/source/po.cxx +++ b/l10ntools/source/po.cxx @@ -252,7 +252,8 @@ void GenPoEntry::readFromFile(std::ifstream& rIFStream) m_sMsgStr = lcl_GenNormString(sLine.copy(7)); pLastMsg = &m_sMsgStr; } - else if (sLine.startsWith("\"") && pLastMsg) + else if (sLine.startsWith("\"") && pLastMsg && + (pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\"") ) { if ( pLastMsg != &m_sMsgCtxt || sLine != "\"" + m_sReference + "\\n\"" ) { |