Skip to content

Commit

Permalink
Fix indentation of 'Init CVC' message
Browse files Browse the repository at this point in the history
  • Loading branch information
jhenin authored and giacomofiorin committed Dec 6, 2024
1 parent c8863da commit 01ad8e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/colvar.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -818,6 +818,7 @@ int colvar::init_components_type(const std::string& conf, const char* def_config
&def_conf,
&pos) ) {

cvm::increase_depth();
cvm::log("Initializing "
"a new \""+std::string(def_config_key)+"\" component"+
(cvm::debug() ? ", with configuration:\n"+def_conf
Expand All @@ -830,7 +831,6 @@ int colvar::init_components_type(const std::string& conf, const char* def_config
}
cvcs.push_back(std::shared_ptr<colvar::cvc>(cvcp));

cvm::increase_depth();
int error_code_this = cvcp->init(def_conf);
if (error_code_this == COLVARS_OK) {
// Checking for invalid keywords only if the parsing was successful, otherwise any
Expand Down

0 comments on commit 01ad8e4

Please sign in to comment.