From 227c9ff45eb0f72af7d41898250d55afb1a0fbfa Mon Sep 17 00:00:00 2001 From: Victor Shcherb Date: Mon, 11 Feb 2013 00:52:11 +0100 Subject: [PATCH] Fix missing contour lines --- .../src/net/osmand/plus/activities/DownloadIndexActivity.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java index feb4d37234..8625980d3d 100644 --- a/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java +++ b/OsmAnd/src/net/osmand/plus/activities/DownloadIndexActivity.java @@ -396,7 +396,7 @@ public class DownloadIndexActivity extends OsmandExpandableListActivity { cachedSRTMFiles = new ArrayList(); List countries = RegionRegistry.getRegionRegistry().getCountries(); for (RegionCountry rc : countries) { - if (rc.tiles.size() > 35) { + if (rc.tiles.size() > 35 && rc.getSubRegions().size() > 0) { for (RegionCountry ch : rc.getSubRegions()) { cachedSRTMFiles.add(new SrtmIndexItem(ch, indexFileNames)); }