From da6743e2fe574d02d886d354f55f06bb74fb8750 Mon Sep 17 00:00:00 2001 From: Goran Jelic-Cizmek Date: Sun, 22 Dec 2024 13:04:59 +0100 Subject: [PATCH] Apply suggestion from review --- src/ivoc/ivocmain.cpp | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/src/ivoc/ivocmain.cpp b/src/ivoc/ivocmain.cpp index 5ed72c4554..8e81d84d8d 100644 --- a/src/ivoc/ivocmain.cpp +++ b/src/ivoc/ivocmain.cpp @@ -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);