diff OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.cpp @ 1979:b31e494e34c5

cppcheck
author Sebastien Jodogne <s.jodogne@gmail.com>
date Sat, 29 Oct 2022 17:10:21 +0200
parents 95449b0e064a
children 0aac8f552d89
line wrap: on
line diff
--- a/OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.cpp	Sat Oct 29 16:56:16 2022 +0200
+++ b/OrthancStone/Sources/Scene2D/AnnotationsSceneLayer.cpp	Sat Oct 29 17:10:21 2022 +0200
@@ -1053,7 +1053,11 @@
           }
           
           label_.SetText(buf);
-        }            
+        }
+        else
+        {
+          label_.SetText("?");
+        }
       }
     }