summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/NetPlayChatUI.cpp
diff options
context:
space:
mode:
authoriwubcode <iwubcode@users.noreply.github.com>2023-07-29 00:27:07 -0500
committeriwubcode <iwubcode@users.noreply.github.com>2023-07-29 00:27:07 -0500
commitdca7c67105c89b003910da70e80ed7b54325da97 (patch)
tree3387e34fdcfbf4a17859b26fb9d70e10e683bffd /Source/Core/VideoCommon/NetPlayChatUI.cpp
parenta2a6473962ce3036aaa751d80152911e34b1e69d (diff)
VideoCommon: update NetplayChatUI's chat message input to use a hidden label. This avoids an error thrown by imgui
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();