ui: Fix size of m_config_info_text passed to InputTextMultiline

This commit is contained in:
oltolm
2026-01-23 04:16:26 +01:00
committed by GitHub
parent 51fc60c318
commit b64c19a0ed
+1 -1
View File
@@ -1653,7 +1653,7 @@ void MainMenuAboutView::Draw()
SectionTitle("Config Information");
ImGui::PushFont(g_font_mgr.m_fixed_width_font);
ImGui::InputTextMultiline("##config_info", (char *)m_config_info_text,
strlen(build_info_text) + 1,
strlen(m_config_info_text) + 1,
ImVec2(-FLT_MIN, ImGui::GetTextLineHeight() * 3),
ImGuiInputTextFlags_ReadOnly);
ImGui::PopFont();