diff --git a/Source/Core/VideoCommon/NetPlayChatUI.cpp b/Source/Core/VideoCommon/NetPlayChatUI.cpp index 6c8bce9227..7428233286 100644 --- a/Source/Core/VideoCommon/NetPlayChatUI.cpp +++ b/Source/Core/VideoCommon/NetPlayChatUI.cpp @@ -106,7 +106,7 @@ void NetPlayChatUI::SendMessage() void NetPlayChatUI::Activate() { if (ImGui::IsItemFocused()) - ImGui::SetWindowFocus(NULL); + ImGui::SetWindowFocus(nullptr); else m_activate = true; }