projects
/
oweals
/
minetest.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bbf6f4f
)
Remove unneccessary space for tab completion
author
Nathaniel Olsen
<NateTenn5123@Gmail.com>
Tue, 16 Jun 2015 02:10:06 +0000
(21:10 -0500)
committer
est31
<MTest31@outlook.com>
Tue, 16 Jun 2015 05:16:22 +0000
(07:16 +0200)
src/chat.cpp
patch
|
blob
|
history
diff --git
a/src/chat.cpp
b/src/chat.cpp
index 2d29d39da77fe1b87381607b392ee920a7732e45..50391d39b0ee8abbfc07fe1ea30bdcf95be6fe90 100644
(file)
--- a/
src/chat.cpp
+++ b/
src/chat.cpp
@@
-511,7
+511,7
@@
void ChatPrompt::nickCompletion(const std::list<std::string>& names, bool backwa
{
std::wstring completion = narrow_to_wide(*i);
if (prefix_start == 0)
- completion += L":";
+ completion += L":
";
completions.push_back(completion);
}
}
@@
-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))
++word_end;