mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: bad detection of Ensight binary/ascii (fixes #2579)
- related to #2535
This commit is contained in:
@ -68,7 +68,7 @@ Foam::ensightReadFile::detectBinaryHeader(const fileName& pathname)
|
||||
if
|
||||
(
|
||||
(buf.find("Binary") == std::string::npos)
|
||||
|| (buf.find("binary") == std::string::npos)
|
||||
&& (buf.find("binary") == std::string::npos)
|
||||
)
|
||||
{
|
||||
fmt = IOstreamOption::ASCII;
|
||||
|
||||
Reference in New Issue
Block a user