diff options
author | Tomaz Canabrava <tcanabrava@kde.org> | 2017-10-02 17:18:47 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2017-10-02 09:52:33 -0700 |
commit | 32e6ca49192a010b2c18d27a5eb5e9214bd4c098 (patch) | |
tree | 4da7e88c1b7118cb24e7bf51cf8abcf12b690ef5 /core/save-xml.c | |
parent | cabf8c0c214b9bb8411797ec2da40b38315b6ce0 (diff) | |
download | subsurface-32e6ca49192a010b2c18d27a5eb5e9214bd4c098.tar.gz |
[Divesite] Save / Load the country from xml
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org>
Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
Diffstat (limited to 'core/save-xml.c')
-rw-r--r-- | core/save-xml.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/save-xml.c b/core/save-xml.c index d3b9e6c8d..0410975dc 100644 --- a/core/save-xml.c +++ b/core/save-xml.c @@ -598,6 +598,7 @@ 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, "", "'"); |