From 4a25896ad986def6dcc566206e7e62b4610343be Mon Sep 17 00:00:00 2001 From: Yury Melnichek Date: Thu, 26 May 2011 17:19:10 +0200 Subject: [PATCH] [search] Make prefix lower case as well. --- search/query.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/search/query.cpp b/search/query.cpp index 24ff82ca5f..57a8e80bb7 100644 --- a/search/query.cpp +++ b/search/query.cpp @@ -30,7 +30,7 @@ Query::Query(string const & query, m2::RectD const & rect, IndexType const * pIn for (strings::TokenizeIterator iter(query, delims); iter; ++iter) { if (iter.IsLast() && !delims(strings::LastUniChar(query))) - m_prefix = iter.GetUniString(); + m_prefix = strings::MakeLowerCase(iter.GetUniString()); else m_keywords.push_back(strings::MakeLowerCase(iter.GetUniString())); }