Update translation

This commit is contained in:
Victor Shcherb 2016-08-22 11:04:09 +03:00
parent ae77c965af
commit 5906368bfc
2 changed files with 2 additions and 2 deletions

View file

@ -186,7 +186,7 @@
<string name="osm_live_ask_for_purchase">Please purchase OSM Live subscription first</string>
<string name="osm_live_header">This subscription enables hourly updates for all maps around the world.
Most of the income goes back to the OSM community and is paid for each OSM contribution.
Part of the income goes back to the OSM community and is paid for each OSM contribution.
If you love OsmAnd and OSM and want to support them, this is the perfect way to do it.</string>
<string name="select_map_marker">Select map marker</string>

View file

@ -328,7 +328,7 @@ public class GpxImportHelper {
}
private void importFavourites(final GPXUtilities.GPXFile gpxFile, final String fileName, final boolean save) {
if(gpxFile.points == null || gpxFile.points.size() == 0) {
if(gpxFile == null || gpxFile.points == null || gpxFile.points.size() == 0) {
handleResult(gpxFile, fileName, save);
return;
}