Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mapsme/omim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvng <viktor.govako@gmail.com>2015-07-09 18:06:54 +0300
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:55:19 +0300
commit38776417938ed26abf2cb67971cc0840916c09fc (patch)
treea6f9de779dea9f87768fbb67e0dd491ad5bb5714 /indexer/feature_data.cpp
parent789444c7e9641a9cec1fd2e17094d955677caeac (diff)
Review fixes.
Diffstat (limited to 'indexer/feature_data.cpp')
-rw-r--r--indexer/feature_data.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/indexer/feature_data.cpp b/indexer/feature_data.cpp
index f7e642eaa6..0d9d4fe439 100644
--- a/indexer/feature_data.cpp
+++ b/indexer/feature_data.cpp
@@ -171,6 +171,7 @@ bool FeatureParams::AddName(string const & lang, string const & s)
if (IsDummyName(s))
return false;
+ // The "default" new name will replace the old one if any (e.g. from AddHouseName call).
name.AddString(lang, s);
return true;
}