# HG changeset patch # User Sebastien Jodogne # Date 1711119898 -3600 # Node ID 48656786c92924441b4de3d0cd4635e214617da5 # Parent d3f5eb4d3830116c626673244c9099f1a2d1c21e simplification diff -r d3f5eb4d3830 -r 48656786c929 Plugin/Plugin.cpp --- a/Plugin/Plugin.cpp Sat Mar 16 11:52:11 2024 +0100 +++ b/Plugin/Plugin.cpp Fri Mar 22 16:04:58 2024 +0100 @@ -635,7 +635,7 @@ dictionary["DICOMWEB_ROOT"] = root.substr(1, root.size() - 2); // Remove heading and trailing slashes std::string configured = Orthanc::Toolbox::SubstituteVariables(explorer, dictionary); - OrthancPlugins::ExtendOrthancExplorer(ORTHANC_DICOM_WEB_NAME, configured.c_str()); + OrthancPlugins::ExtendOrthancExplorer(ORTHANC_DICOM_WEB_NAME, configured); }