Skip to content

Commit b64c19a

Browse files
authored
ui: Fix size of m_config_info_text passed to InputTextMultiline
1 parent 51fc60c commit b64c19a

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

ui/xui/main-menu.cc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1653,7 +1653,7 @@ void MainMenuAboutView::Draw()
16531653
SectionTitle("Config Information");
16541654
ImGui::PushFont(g_font_mgr.m_fixed_width_font);
16551655
ImGui::InputTextMultiline("##config_info", (char *)m_config_info_text,
1656-
strlen(build_info_text) + 1,
1656+
strlen(m_config_info_text) + 1,
16571657
ImVec2(-FLT_MIN, ImGui::GetTextLineHeight() * 3),
16581658
ImGuiInputTextFlags_ReadOnly);
16591659
ImGui::PopFont();

0 commit comments

Comments
 (0)