diff --git a/src/chat.cpp b/src/chat.cpp index 14aa43cec..50391d39b 100644 --- a/src/chat.cpp +++ b/src/chat.cpp @@ -541,7 +541,7 @@ void ChatPrompt::nickCompletion(const std::list& names, bool backwa } } } - std::wstring replacement = completions[replacement_index] + L""; + std::wstring replacement = completions[replacement_index]; if (word_end < m_line.size() && isspace(word_end)) ++word_end;