Skip to content

Commit

Permalink
fix desc
Browse files Browse the repository at this point in the history
  • Loading branch information
alisa911 committed May 10, 2024
1 parent 76c4d07 commit 3317ab9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion OsmAnd-java/src/main/java/net/osmand/gpx/GPXUtilities.java
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}
}
Expand Down

0 comments on commit 3317ab9

Please sign in to comment.