From 4fa76996f20dc04f1d9feaf108c77ccef77e8767 Mon Sep 17 00:00:00 2001 From: sonora Date: Sun, 2 Dec 2012 09:21:31 +0100 Subject: [PATCH] fix bug with Africaans wiki listing --- OsmAnd/src/net/osmand/plus/download/IndexItemCategory.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/OsmAnd/src/net/osmand/plus/download/IndexItemCategory.java b/OsmAnd/src/net/osmand/plus/download/IndexItemCategory.java index 503f34c4a1..796e443196 100644 --- a/OsmAnd/src/net/osmand/plus/download/IndexItemCategory.java +++ b/OsmAnd/src/net/osmand/plus/download/IndexItemCategory.java @@ -39,7 +39,7 @@ public class IndexItemCategory implements Comparable { } else if (lc.contains(".ttsvoice.zip")) { nameId = R.string.index_name_tts_voice; order = 2; - } else if (lc.startsWith("us")) { + } else if (lc.startsWith("us_")) { nameId = R.string.index_name_us; order = 31; } else if (lc.contains("_northamerica_")) { @@ -63,7 +63,7 @@ public class IndexItemCategory implements Comparable { } else if (lc.startsWith("russia_")) { nameId = R.string.index_name_russia; order = 18; - } else if (lc.contains("africa")) { + } else if (lc.contains("africa_")) { nameId = R.string.index_name_africa; order = 80; } else if (lc.contains("_asia_")) {