diff --git a/src/Context.cpp b/src/Context.cpp index 9c8713c2f..d5470da4c 100644 --- a/src/Context.cpp +++ b/src/Context.cpp @@ -1086,7 +1086,7 @@ void Context::createDefaultConfig () if (rc_file._data != "" && ! rc_file.exists ()) { if (config.getBoolean ("confirmation") && - !confirm (format (STRING_CONTEXT_CREATE_RC, home_dir, rc_file._data))) + ! confirm (format (STRING_CONTEXT_CREATE_RC, home_dir, rc_file._data))) throw std::string (STRING_CONTEXT_NEED_RC); // Override data.location in the defaults. diff --git a/src/Eval.cpp b/src/Eval.cpp index a1ca83d25..91e9c31c9 100644 --- a/src/Eval.cpp +++ b/src/Eval.cpp @@ -352,7 +352,7 @@ void Eval::evaluatePostfixStack ( } // An identifier that fails lookup is a string. - if (!found) + if (! found) { v.cast (Variant::type_string); if (_debug)