Commit ed6b18ca authored by Michael Reeves's avatar Michael Reeves

skip non-existant files completly in readAndPreprocess

This fixes a bug masked by the incorret reset of m_bIsText.
parent 35f46b8b
......@@ -504,6 +504,11 @@ QStringList SourceData::readAndPreprocess(QTextCodec* pEncoding, bool bAutoDetec
m_lmppData.copyBufFrom(m_normalData);
}
}
else
{
//exit early for non-existant files
return errors;
}
if(!m_lmppData.preprocess(false, pEncoding2))
{
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment