fix problems for english street names

git-svn-id: https://osmand.googlecode.com/svn/trunk@677 e29c36b1-1cfa-d876-8d93-3434fc2bb7b8
This commit is contained in:
Victor Shcherb 2010-11-15 14:49:09 +00:00
parent f06975f74f
commit 5549136ba9

View file

@ -1334,7 +1334,7 @@ public class BinaryMapIndexReader {
break;
case OsmandOdb.StreetIndex.NAME_FIELD_NUMBER :
s.setName(codedIS.readString());
if(s.getEnName() == null){
if(s.getEnName().length() == 0){
s.setEnName(Junidecode.unidecode(s.getName()));
}
break;