diff --git a/OsmAnd-java/src/main/java/net/osmand/gpx/GPXUtilities.java b/OsmAnd-java/src/main/java/net/osmand/gpx/GPXUtilities.java index 30137e7afaf..f8f0b25a4ba 100644 --- a/OsmAnd-java/src/main/java/net/osmand/gpx/GPXUtilities.java +++ b/OsmAnd-java/src/main/java/net/osmand/gpx/GPXUtilities.java @@ -662,7 +662,7 @@ public String getDescription() { public void readDescription() { String readDescription = getExtensionsToWrite().remove("desc"); - if (Algorithms.isEmpty(readDescription) && Algorithms.isEmpty(desc)) { + if (!Algorithms.isEmpty(readDescription) && Algorithms.isEmpty(desc)) { desc = readDescription; } }