mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
Don't add separate country field, use taxonomy
The more I looked at the code that added the country to the dive site, the more it seemed redundant given what we have with the taxonomy. Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
de10fd4021
commit
21d78121ad
8 changed files with 21 additions and 24 deletions
|
@ -598,7 +598,6 @@ void save_dives_buffer(struct membuffer *b, const bool select_only)
|
|||
|
||||
put_format(b, "<site uuid='%8x'", ds->uuid);
|
||||
show_utf8(b, ds->name, " name='", "'", 1);
|
||||
show_utf8(b, ds->country, " country='", "'", 1);
|
||||
if (ds->latitude.udeg || ds->longitude.udeg) {
|
||||
put_degrees(b, ds->latitude, " gps='", " ");
|
||||
put_degrees(b, ds->longitude, "", "'");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue