1
0
Fork 0
mirror of https://github.com/subsurface/subsurface.git synced 2025-02-19 22:16:15 +00:00

Add "additional name" to the correct dive site

Adding the name to its own dive site was kind of silly.

Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
Dirk Hohndel 2015-06-10 13:03:37 -07:00
parent 3b018204f2
commit b0fc00694d

View file

@ -1267,7 +1267,7 @@ static void add_dive_site(char *ds_name, struct dive *dive)
newds->latitude = ds->latitude;
newds->longitude = ds->longitude;
}
ds->notes = add_to_string(ds->notes, translate("gettextFromC", "additional name for site: %s\n"), ds->name);
newds->notes = add_to_string(newds->notes, translate("gettextFromC", "additional name for site: %s\n"), ds->name);
} else {
// add the existing dive site to the current dive
fprintf(stderr, "we have an existing location, using {%s}\n", ds->name);