mirror of
https://github.com/subsurface/subsurface.git
synced 2025-02-19 22:16:15 +00:00
[Divesite] Load / Save divesite country on git
Signed-off-by: Tomaz Canabrava <tcanabrava@kde.org> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
This commit is contained in:
parent
32e6ca4919
commit
f9a36132ad
2 changed files with 5 additions and 1 deletions
|
@ -961,6 +961,7 @@ static void save_divesites(git_repository *repo, struct dir *tree)
|
|||
}
|
||||
struct membuffer site_file_name = { 0 };
|
||||
put_format(&site_file_name, "Site-%08x", ds->uuid);
|
||||
show_utf8(&b, "country ", ds->country, "\n");
|
||||
show_utf8(&b, "name ", ds->name, "\n");
|
||||
show_utf8(&b, "description ", ds->description, "\n");
|
||||
show_utf8(&b, "notes ", ds->notes, "\n");
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue