diff --git a/OsmAnd/src/net/osmand/plus/activities/search/GeoIntentActivity.java b/OsmAnd/src/net/osmand/plus/activities/search/GeoIntentActivity.java index 66c580597d..134129bd9b 100644 --- a/OsmAnd/src/net/osmand/plus/activities/search/GeoIntentActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/search/GeoIntentActivity.java @@ -336,13 +336,13 @@ public class GeoIntentActivity extends OsmandListActivity { { return new GeoPointSearch(lat, lon, Integer.valueOf(matcher.group(4))); } - } else if (matcher2.matches()) { - final double lat = Double.valueOf(matcher2.group(1)); - final double lon = Double.valueOf(matcher2.group(2)); - return new GeoPointSearch(lat, lon); - } else { - return null; - } + } else if (matcher2.matches()) { + final double lat = Double.valueOf(matcher2.group(1)); + final double lon = Double.valueOf(matcher2.group(2)); + return new GeoPointSearch(lat, lon); + } else { + return null; + } } } return null;