Commit ca8e8b5c 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 24b93ffe
......@@ -501,6 +501,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