# HG changeset patch # User Sebastien Jodogne # Date 1711119980 -3600 # Node ID 972439d2d38f549a95af542402794426c9965380 # Parent e662d794da41ff26b7db5eb9cf77de0dd7f72d07 simplification diff -r e662d794da41 -r 972439d2d38f Sources/Plugin.cpp --- a/Sources/Plugin.cpp Fri Mar 22 15:42:34 2024 +0100 +++ b/Sources/Plugin.cpp Fri Mar 22 16:06:20 2024 +0100 @@ -141,7 +141,7 @@ // Extend the default Orthanc Explorer with custom JavaScript for VolView std::string explorer; Orthanc::EmbeddedResources::GetFileResource(explorer, Orthanc::EmbeddedResources::ORTHANC_EXPLORER); - OrthancPlugins::ExtendOrthancExplorer(ORTHANC_PLUGIN_NAME, explorer.c_str()); + OrthancPlugins::ExtendOrthancExplorer(ORTHANC_PLUGIN_NAME, explorer); return 0; }