Skip to content
Snippets Groups Projects
Commit 3ae8b92b authored by Nathaniel Olsen's avatar Nathaniel Olsen Committed by est31
Browse files

Remove unneccessary space for tab completion

parent bbf6f4fc
No related branches found
No related tags found
No related merge requests found
...@@ -511,7 +511,7 @@ void ChatPrompt::nickCompletion(const std::list<std::string>& names, bool backwa ...@@ -511,7 +511,7 @@ void ChatPrompt::nickCompletion(const std::list<std::string>& names, bool backwa
{ {
std::wstring completion = narrow_to_wide(*i); std::wstring completion = narrow_to_wide(*i);
if (prefix_start == 0) if (prefix_start == 0)
completion += L":"; completion += L": ";
completions.push_back(completion); completions.push_back(completion);
} }
} }
...@@ -541,7 +541,7 @@ void ChatPrompt::nickCompletion(const std::list<std::string>& names, bool backwa ...@@ -541,7 +541,7 @@ void ChatPrompt::nickCompletion(const std::list<std::string>& 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)) if (word_end < m_line.size() && isspace(word_end))
++word_end; ++word_end;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment