diff options
author | Alex Zolotarev <deathbaba@gmail.com> | 2012-09-06 14:46:06 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:43:06 +0300 |
commit | 66afd37cc6204975545a071b11f2a87416e77e4b (patch) | |
tree | 8f984d275912535fa0718db84d5aa96ee3118010 /search | |
parent | 3aabb33fb24db5204d58f9325db8c481ed961669 (diff) |
[win] Fixed some compilation errors. Only OpenGL errors left
Diffstat (limited to 'search')
-rw-r--r-- | search/search_query.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/search/search_query.cpp b/search/search_query.cpp index 479a96b243..fddfe33917 100644 --- a/search/search_query.cpp +++ b/search/search_query.cpp @@ -55,7 +55,7 @@ namespace enum LangIndexT { LANG_CURRENT = 0, LANG_INPUT, LANG_INTERNATIONAL, - LANG_ENGLISH, + LANG_EN, LANG_DEFAULT, LANG_COUNT }; @@ -1165,7 +1165,7 @@ namespace impl : m_vector(pMwm->m_cont, pMwm->GetHeader()), m_lang(lang), m_query(q), m_isCancelled(isCancelled) { - m_arrEn[0] = q.GetLanguage(LANG_ENGLISH); + m_arrEn[0] = q.GetLanguage(LANG_EN); m_arrEn[1] = q.GetLanguage(LANG_INTERNATIONAL); m_arrEn[2] = q.GetLanguage(LANG_DEFAULT); } @@ -1516,7 +1516,7 @@ bool Query::MatchForSuggestionsImpl(strings::UniString const & token, int8_t lan void Query::MatchForSuggestions(strings::UniString const & token, Results & res) { if (!MatchForSuggestionsImpl(token, GetLanguage(LANG_INPUT), res)) - MatchForSuggestionsImpl(token, GetLanguage(LANG_ENGLISH), res); + MatchForSuggestionsImpl(token, GetLanguage(LANG_EN), res); } m2::RectD const & Query::GetViewport(int viewportID/* = -1*/) const |