diff --git a/src/gfx/pal_spec.cpp b/src/gfx/pal_spec.cpp index eb08e63b..613eada6 100644 --- a/src/gfx/pal_spec.cpp +++ b/src/gfx/pal_spec.cpp @@ -357,7 +357,7 @@ static void parseGPLFile(std::filebuf &file) { } // FIXME: C++20 will allow `line.starts_with` instead of `!line.rfind` with 0 - if (!line.rfind("#", 0) | !line.rfind("Name:", 0) || !line.rfind("Column:", 0)) { + if (!line.rfind("#", 0) || !line.rfind("Name:", 0) || !line.rfind("Column:", 0)) { continue; }