Merge remote-tracking branch 'origin/master'
This commit is contained in:
commit
171d24df12
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue