mirror of
https://github.com/SpartanJ/eepp.git
synced 2026-08-18 06:55:48 +03:00
Should fix windows build.
This commit is contained in:
@@ -158,7 +158,8 @@ TextDocument::LoadStatus TextDocument::loadFromStream( IOStream& file, std::stri
|
||||
mLineEnding = LineEnding::CR;
|
||||
}
|
||||
|
||||
mMightBeBinary = lineBuffer.find_first_of( '\0' ) != String::InvalidPos;
|
||||
mMightBeBinary = lineBuffer.find_first_of( (String::StringBaseType)'\0' ) !=
|
||||
String::InvalidPos;
|
||||
}
|
||||
|
||||
if ( mLineEnding == LineEnding::CRLF && lineBufferSize > 1 &&
|
||||
|
||||
Reference in New Issue
Block a user