summaryrefslogtreecommitdiff
path: root/src/gui/windows/chatwindow.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/windows/chatwindow.cpp')
-rw-r--r--src/gui/windows/chatwindow.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/windows/chatwindow.cpp b/src/gui/windows/chatwindow.cpp
index 0f0970c51..f96cf976d 100644
--- a/src/gui/windows/chatwindow.cpp
+++ b/src/gui/windows/chatwindow.cpp
@@ -253,7 +253,7 @@ void ChatWindow::loadCommandsFile(const std::string &name)
void ChatWindow::fillCommands()
{
loadCommandsFile("chatcommands.txt");
- inputManager.addChatCommands(mCommands);
+ InputManager::addChatCommands(mCommands);
}
void ChatWindow::loadGMCommands()
@@ -1531,7 +1531,7 @@ std::string ChatWindow::autoComplete(const StringVect &names,
}
std::string ChatWindow::autoComplete(const std::string &partName,
- const History *const words) const
+ const History *const words)
{
if (words == nullptr)
return "";