changeset 2168:14d6080660e7

merge
author Alain Mazy <am@orthanc.team>
date Wed, 09 Oct 2024 12:50:10 +0200
parents c4df20981eb1 (diff) f14260c15151 (current diff)
children fe5406abd43f
files
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/Applications/StoneWebViewer/Plugin/Plugin.cpp	Mon Oct 07 12:35:07 2024 +0200
+++ b/Applications/StoneWebViewer/Plugin/Plugin.cpp	Wed Oct 09 12:50:10 2024 +0200
@@ -61,7 +61,7 @@
       }
 
       std::string version = info["Version"].asString();
-      if (version != "mainline")
+      if (version.find("mainline") != 0)
       {
         std::vector<std::string> tokens;
         Orthanc::Toolbox::TokenizeString(tokens, version, '.');