diff options
author | Andrei Karas <akaras@inbox.ru> | 2011-09-08 01:01:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2011-09-08 01:01:44 +0300 |
commit | f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a (patch) | |
tree | 6da506084328c9338f938a287364f68cbb92d86f /src/gui/chatwindow.cpp | |
parent | b3f70d8d46199524edc590269a73c262899763c7 (diff) | |
download | manaplus-f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a.tar.gz manaplus-f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a.tar.bz2 manaplus-f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a.tar.xz manaplus-f0f4b00290c3ae4b2b80bdef22d4ac56a863d35a.zip |
Fix register in some auto complete strings.
Diffstat (limited to 'src/gui/chatwindow.cpp')
-rw-r--r-- | src/gui/chatwindow.cpp | 3 |
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 { |