Hotfix issue

This commit is contained in:
Victor Shcherb 2014-07-16 20:45:44 +02:00
parent d88d19fd52
commit 3a69405dc7

View file

@ -87,7 +87,7 @@ public class BinaryMapAddressReaderAdapter {
switch (tag) { switch (tag) {
case 0: case 0:
if (region.enName == null || region.enName.length() == 0) { if (region.enName == null || region.enName.length() == 0) {
region.enName = Junidecode.unidecode(region.name); region.enName = region.name == null ? "" : Junidecode.unidecode(region.name);
} }
return; return;
case OsmandOdb.OsmAndAddressIndex.NAME_FIELD_NUMBER : case OsmandOdb.OsmAndAddressIndex.NAME_FIELD_NUMBER :