From ec82f02580245548e41036666970be9c6977a046 Mon Sep 17 00:00:00 2001 From: Lioncash Date: Tue, 11 Nov 2014 00:12:18 -0500 Subject: [PATCH] NetPlayDiag: Get rid of unnecessary text limit check The text control is limited to 2000 characters on creation. --- Source/Core/DolphinWX/NetWindow.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/Source/Core/DolphinWX/NetWindow.cpp b/Source/Core/DolphinWX/NetWindow.cpp index 66e2053e34..e925b19dc5 100644 --- a/Source/Core/DolphinWX/NetWindow.cpp +++ b/Source/Core/DolphinWX/NetWindow.cpp @@ -425,9 +425,6 @@ void NetPlayDiag::OnChat(wxCommandEvent&) if (!text.empty()) { - if (text.length() > 2000) - text.erase(2000); - netplay_client->SendChatMessage(WxStrToStr(text)); m_chat_text->AppendText(text.Prepend(" >> ").Append('\n')); m_chat_msg_text->Clear();