Fix mixed line endings

This commit is contained in:
Zheng, Lei
2022-04-26 21:45:10 +08:00
committed by Chris Hennes
parent 2753dd4ca7
commit 3ef438eaf0
66 changed files with 344 additions and 344 deletions

View File

@@ -250,7 +250,7 @@ bool MeshInput::LoadSTL (std::istream &rstrIn)
// the file size has only 134 bytes in this case. On the other hand we must overread the first 80 bytes
// because it can happen that the file is binary but contains one of these keywords.
std::streambuf* buf = rstrIn.rdbuf();
if (!buf)
if (!buf)
return false;
buf->pubseekoff(80, std::ios::beg, std::ios::in);
uint32_t ulCt, ulBytes=50;