Merge pull request #735 from Bars107/master

Little update to map files translation functionality.
This commit is contained in:
vshcherb 2014-07-08 14:55:58 +02:00
commit 7f64c07f29

View file

@ -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 {