summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon/NetPlayChatUI.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/VideoCommon/NetPlayChatUI.cpp')
-rw-r--r--Source/Core/VideoCommon/NetPlayChatUI.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/Core/VideoCommon/NetPlayChatUI.cpp b/Source/Core/VideoCommon/NetPlayChatUI.cpp
index 772dd3fe81..e7d1a758dc 100644
--- a/Source/Core/VideoCommon/NetPlayChatUI.cpp
+++ b/Source/Core/VideoCommon/NetPlayChatUI.cpp
@@ -59,7 +59,7 @@ void NetPlayChatUI::Display()
if (ImGui::InputText("##NetplayMessageBuffer", m_message_buf, IM_ARRAYSIZE(m_message_buf),
ImGuiInputTextFlags_EnterReturnsTrue))
{
- SendMessage();
+ SendChatMessage();
}
if (m_activate)
@@ -73,7 +73,7 @@ void NetPlayChatUI::Display()
ImGui::SameLine();
if (ImGui::Button("Send"))
- SendMessage();
+ SendChatMessage();
ImGui::End();
}
@@ -90,7 +90,7 @@ void NetPlayChatUI::AppendChat(std::string message, Color color)
m_scroll_to_bottom = true;
}
-void NetPlayChatUI::SendMessage()
+void NetPlayChatUI::SendChatMessage()
{
// Check whether the input field is empty
if (m_message_buf[0] != '\0')