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>2014-01-28 14:18:30 +0400
committerAlex Zolotarev <alex@maps.me>2015-09-23 02:10:49 +0300
commitd57e90fd96261c2d37b76022498792efa3a5e880 (patch)
treee6fc0d3392c8302bb8628e2c98f095fbc63dbb4c /indexer/categories_holder.cpp
parent3a1331ced2271c177fde8e46fd1b9e353ec0b8fc (diff)
[categories] Fixed "area:" types parsing.
Diffstat (limited to 'indexer/categories_holder.cpp')
-rw-r--r--indexer/categories_holder.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/indexer/categories_holder.cpp b/indexer/categories_holder.cpp
index d22ec2ddc4..50dc4c58d9 100644
--- a/indexer/categories_holder.cpp
+++ b/indexer/categories_holder.cpp
@@ -75,7 +75,7 @@ void CategoriesHolder::LoadFromStream(istream & s)
{
++lineNumber;
getline(s, line);
- strings::SimpleTokenizer iter(line, ":|");
+ strings::SimpleTokenizer iter(line, state == EParseTypes ? "|" : ":|");
switch (state)
{