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) {