summaryrefslogtreecommitdiff
path: root/src/gui/chatwindow.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2011-09-08 01:01:44 +0300
committerAndrei Karas <akaras@inbox.ru>2011-09-08 01:01:44 +0300
commitf0f4b00290c3ae4b2b80bdef22d4ac56a863d35a (patch)
tree6da506084328c9338f938a287364f68cbb92d86f /src/gui/chatwindow.cpp
parentb3f70d8d46199524edc590269a73c262899763c7 (diff)
downloadmv-f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a.tar.gz
mv-f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a.tar.bz2
mv-f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a.tar.xz
mv-f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a.zip
Fix register in some auto complete strings.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r--src/gui/chatwindow.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/gui/chatwindow.cpp b/src/gui/chatwindow.cpp
index 0f42fb1b6..639125739 100644
--- a/src/gui/chatwindow.cpp
+++ b/src/gui/chatwindow.cpp
@@ -1195,8 +1195,7 @@ std::string ChatWindow::autoComplete(std::vector<std::string> &names,
{
if (newName != "")
{
- toLower(newName);
- newName = findSameSubstring(name, newName);
+ newName = findSameSubstringI(*i, newName);
}
else
{