summaryrefslogtreecommitdiff
path: root/Source/Core/VideoCommon
diff options
context:
space:
mode:
authorCraig Carnell <1188869+cscd98@users.noreply.github.com>2025-12-08 19:38:25 +0000
committerCraig Carnell <1188869+cscd98@users.noreply.github.com>2025-12-10 21:07:33 +0000
commit26b6980d1a6d59125d8d4cbc92adfa0ede70458d (patch)
tree218a2c70cc083f78a55d0c3df2d2b1ebee229cea /Source/Core/VideoCommon
parent75bc9a474edab83c8751b73939a7136990c3c118 (diff)
mingw: replace SendMessage usage as clashes with existing function
Diffstat (limited to 'Source/Core/VideoCommon')
-rw-r--r--Source/Core/VideoCommon/NetPlayChatUI.cpp6
-rw-r--r--Source/Core/VideoCommon/NetPlayChatUI.h2
2 files changed, 4 insertions, 4 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')
diff --git a/Source/Core/VideoCommon/NetPlayChatUI.h b/Source/Core/VideoCommon/NetPlayChatUI.h
index 0fdc1d086d..a5fe6d547c 100644
--- a/Source/Core/VideoCommon/NetPlayChatUI.h
+++ b/Source/Core/VideoCommon/NetPlayChatUI.h
@@ -20,7 +20,7 @@ public:
void Display();
void AppendChat(std::string message, Color color);
- void SendMessage();
+ void SendChatMessage();
void Activate();
private: