From f42536531ae7377a60e5f327e04796b16508e6a6 Mon Sep 17 00:00:00 2001 From: Kristian Flikka Date: Fri, 23 Aug 2013 11:53:03 +0200 Subject: [PATCH] Increased readabiliy --- opm/parser/eclipse/Parser/Parser.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/opm/parser/eclipse/Parser/Parser.cpp b/opm/parser/eclipse/Parser/Parser.cpp index ea14f996f..d586dcc33 100644 --- a/opm/parser/eclipse/Parser/Parser.cpp +++ b/opm/parser/eclipse/Parser/Parser.cpp @@ -203,7 +203,7 @@ namespace Opm { if (recursive) loadKeywordsFromDirectory(*iter , recursive , onlyALLCAPS8); } else { - if (!onlyALLCAPS8 || ParserKeyword::validName( iter->path().filename())) { + if (ParserKeyword::validName( iter->path().filename()) || !onlyALLCAPS8 ) { if (!loadKeywordFromFile(*iter)) std::cerr << "** Warning: failed to load keyword from file:" << iter->path() << std::endl; }