summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
authorGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-13 14:58:06 -0700
committerGravatar Linus Torvalds <torvalds@linux-foundation.org>2011-09-13 14:58:06 -0700
commitc6b13fad5aebdf7ee7f1b67da58512e49840a7c1 (patch)
tree785afaa39465aaed851b6b3870ca001509b8560f /save-xml.c
parentc7b9387d4bf624230ca2e317e7ac8cf5b4b81f0c (diff)
downloadsubsurface-c6b13fad5aebdf7ee7f1b67da58512e49840a7c1.tar.gz
Add divemaster/buddy field and text entry
I have it in some of my notes, and Dirk seems to fill that in too, so let's just show it, save it, and allow editing of it.. Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c
index 91ead9f1d..47a8a7ebb 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -153,6 +153,8 @@ static void save_overview(FILE *f, struct dive *dive)
save_temperatures(f, dive);
show_duration(f, dive->surfacetime, " <surfacetime>", "</surfacetime>\n");
show_utf8(f, dive->location, " <location>","</location>\n");
+ show_utf8(f, dive->divemaster, " <divemaster>","</divemaster>\n");
+ show_utf8(f, dive->buddy, " <buddy>","</buddy>\n");
show_utf8(f, dive->notes, " <notes>","</notes>\n");
}