Skip to content

Commit

Permalink
Apply suggestion from review
Browse files Browse the repository at this point in the history
  • Loading branch information
JCGoran committed Dec 22, 2024
1 parent 78d8a9a commit da6743e
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions src/ivoc/ivocmain.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -550,11 +550,7 @@ nrniv [options] [fileargs]
} else if (file_exists(nrn_def_path2)) {
session->style()->load_file(String(nrn_def_path2.string().c_str()), -5);
} else {
char buf[256];
Sprintf(buf,
"Can't load NEURON resources from %s[aults]",
nrn_def_path1.string().c_str());
printf("%s\n", buf);
fmt::print("Can't load NEURON resources from {}[aults]\n", nrn_def_path1);
}
#else
session->style()->load_file(String(nrn_def_path1.string().c_str()), -5);
Expand Down

0 comments on commit da6743e

Please sign in to comment.