diff options
author | vng <viktor.govako@gmail.com> | 2012-09-25 19:20:39 +0400 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 01:43:52 +0300 |
commit | 49a7bfc73de52fa58ea972f7281ff8c970f623c8 (patch) | |
tree | eaae93a6ea1886c768a74941d242b6c109f4fbed /map/address_finder.cpp | |
parent | 41359f557a6634c6dc041113d4bc21e96ced9204 (diff) |
Avoid to use heavy function languages::CurrentLanguage().
Diffstat (limited to 'map/address_finder.cpp')
-rw-r--r-- | map/address_finder.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/map/address_finder.cpp b/map/address_finder.cpp index fdcf47025e..3d70098601 100644 --- a/map/address_finder.cpp +++ b/map/address_finder.cpp @@ -360,7 +360,7 @@ namespace void FillAddress(search::Engine const * eng, Framework::AddressInfo & info) { - int8_t const lang = StringUtf8Multilang::GetLangIndex(languages::CurrentLanguage()); + int8_t const lang = eng->GetCurrentLanguage(); SortResults(); |