Skip to content

Commit

Permalink
RadiationSourcesWindow.cpp updated
Browse files Browse the repository at this point in the history
  • Loading branch information
chrxh committed Oct 12, 2024
1 parent bc1b66b commit b8ea5c4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/Gui/RadiationSourcesWindow.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit b8ea5c4

Please sign in to comment.