diff --git a/ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp b/ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp index 93d70b6210..8b0b9fb868 100644 --- a/ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp +++ b/ApplicationCode/FileInterface/RifPerforationIntervalReader.cpp @@ -80,7 +80,7 @@ void RifPerforationIntervalReader::readFileIntoMap(const QString& filePath, std: if (line.startsWith("WELLNAME")) { // Save current well name - if (parts.size() == 2) + if (parts.size() > 1) { wellName = parts[1].trimmed(); }