Update AvailableGPXFragment.java

This commit is contained in:
vshcherb 2014-06-30 16:45:28 +02:00
parent 16d1388bac
commit 7ac6e42795

View file

@ -1035,7 +1035,7 @@ public class AvailableGPXFragment extends OsmandExpandableListFragment {
}
private String formatName(String name) {
int ext = name.indexOf('.');
int ext = name.lastIndexOf('.');
if (ext != -1) {
name = name.substring(0, ext);
}