Skip to content

Commit

Permalink
Merge pull request osmandapp#19824 from osmandapp/hotfix100523
Browse files Browse the repository at this point in the history
fix desc
  • Loading branch information
Chumva authored May 10, 2024
2 parents 8667aa2 + 3317ab9 commit fe0b493
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 fe0b493

Please sign in to comment.