diff --git a/OsmAnd/src/net/osmand/plus/helpers/FileNameTranslationHelper.java b/OsmAnd/src/net/osmand/plus/helpers/FileNameTranslationHelper.java index cabe7b19e9..3d2497c97a 100644 --- a/OsmAnd/src/net/osmand/plus/helpers/FileNameTranslationHelper.java +++ b/OsmAnd/src/net/osmand/plus/helpers/FileNameTranslationHelper.java @@ -81,7 +81,7 @@ public class FileNameTranslationHelper { return fileName.substring(0, fileName.length() - IndexConstants.SQLITE_EXT.length()).replace('_', ' '); } - int ls = fileName.lastIndexOf('-'); + int ls = fileName.lastIndexOf("-roads"); if (ls >= 0) { return fileName.substring(0, ls); } else {