From 3317ab98c702e2e458d5f904d1a4d6d038b5a68f Mon Sep 17 00:00:00 2001 From: alisa911 Date: Fri, 10 May 2024 13:18:13 +0300 Subject: [PATCH] fix desc --- OsmAnd-java/src/main/java/net/osmand/gpx/GPXUtilities.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } }