summaryrefslogtreecommitdiff
path: root/src/guiChatConsole.cpp
diff options
context:
space:
mode:
authorPilzAdam <pilzadam@minetest.net>2013-03-25 19:13:25 +0100
committerPilzAdam <pilzadam@minetest.net>2013-04-05 02:31:58 +0200
commitb0e68060777dfb7daefc81c169e1ed4d95c4a2d6 (patch)
tree7ea5797cc99b7dfb3c989669c3f97d88e6628d59 /src/guiChatConsole.cpp
parent76b86c036876faabe49e274e9ada4fb9d8bd6aea (diff)
downloadminetest-b0e68060777dfb7daefc81c169e1ed4d95c4a2d6.tar.gz
minetest-b0e68060777dfb7daefc81c169e1ed4d95c4a2d6.tar.bz2
minetest-b0e68060777dfb7daefc81c169e1ed4d95c4a2d6.zip
Fix nick completion
Diffstat (limited to 'src/guiChatConsole.cpp')
-rw-r--r--src/guiChatConsole.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/guiChatConsole.cpp b/src/guiChatConsole.cpp
index 5fc576cf8..ec23648f8 100644
--- a/src/guiChatConsole.cpp
+++ b/src/guiChatConsole.cpp
@@ -535,7 +535,7 @@ bool GUIChatConsole::OnEvent(const SEvent& event)
{
// Tab or Shift-Tab pressed
// Nick completion
- std::list<std::wstring> names = m_client->getConnectedPlayerNames();
+ std::list<std::string> names = m_client->getConnectedPlayerNames();
bool backwards = event.KeyInput.Shift;
m_chat_backend->getPrompt().nickCompletion(names, backwards);
return true;