From b8ea5c4b5ef3003a909d325eead0b494869eeb4d Mon Sep 17 00:00:00 2001 From: Christian Heinemann Date: Sat, 12 Oct 2024 23:06:48 +0200 Subject: [PATCH] RadiationSourcesWindow.cpp updated --- source/Gui/RadiationSourcesWindow.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/Gui/RadiationSourcesWindow.cpp b/source/Gui/RadiationSourcesWindow.cpp index 9d88d7d80..e6c277496 100644 --- a/source/Gui/RadiationSourcesWindow.cpp +++ b/source/Gui/RadiationSourcesWindow.cpp @@ -66,7 +66,7 @@ bool _RadiationSourcesWindow::processTab(int index) RadiationSource& origSource = origParameters.radiationSources[index]; bool isOpen = true; - char name[18] = {}; + char name[20] = {}; snprintf(name, IM_ARRAYSIZE(name), "Source %01d", index + 1); if (ImGui::BeginTabItem(name, &isOpen, ImGuiTabItemFlags_None)) {