Commit 8184afbe authored by Ragnar Thomsen's avatar Ragnar Thomsen Committed by Michael Reeves

Use QChar::isNull() to check for '\0'

parent 7fe52a6b
......@@ -891,7 +891,7 @@ void SourceData::FileData::preprocess( bool bPreserveCR, QTextCodec* pEncoding )
{
++lines;
}
if ( p[i]=='\0' )
if ( p[i].isNull() )
{
m_bIsText = false;
}
......
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