summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/NetPlayChatUI.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2023-07-29 13:54:21 +0200
committerGitHub <noreply@github.com>2023-07-29 13:54:21 +0200
commit163c97e24241dd8c67a1d44e33e2f9a67b91709b (patch)
tree3387e34fdcfbf4a17859b26fb9d70e10e683bffd /Source/Core/VideoCommon/NetPlayChatUI.cpp
parenta2a6473962ce3036aaa751d80152911e34b1e69d (diff)
parentdca7c67105c89b003910da70e80ed7b54325da97 (diff)
Merge pull request #12078 from iwubcode/imgui_netplay_fix
VideoCommon: update NetplayChatUI's chat message to avoid imgui error
Diffstat (limited to 'Source/Core/VideoCommon/NetPlayChatUI.cpp')
-rw-r--r--Source/Core/VideoCommon/NetPlayChatUI.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/Core/VideoCommon/NetPlayChatUI.cpp b/Source/Core/VideoCommon/NetPlayChatUI.cpp
index c9db29af64..c1217d041d 100644
--- a/Source/Core/VideoCommon/NetPlayChatUI.cpp
+++ b/Source/Core/VideoCommon/NetPlayChatUI.cpp
@@ -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();