Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Merge pull request #12078 from iwubcode/imgui_netplay_fix
VideoCommon: update NetplayChatUI's chat message to avoid imgui error
  • Loading branch information
AdmiralCurtiss committed Jul 29, 2023
2 parents a2a6473 + dca7c67 commit 163c97e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/Core/VideoCommon/NetPlayChatUI.cpp
Expand Up @@ -57,7 +57,7 @@ void NetPlayChatUI::Display()

ImGui::PushItemWidth(-50.0f * scale);

if (ImGui::InputText("", m_message_buf, IM_ARRAYSIZE(m_message_buf),
if (ImGui::InputText("##NetplayMessageBuffer", m_message_buf, IM_ARRAYSIZE(m_message_buf),
ImGuiInputTextFlags_EnterReturnsTrue))
{
SendMessage();
Expand Down

0 comments on commit 163c97e

Please sign in to comment.