summaryrefslogtreecommitdiffstats
path: root/save-xml.c
diff options
context:
space:
mode:
Diffstat (limited to 'save-xml.c')
-rw-r--r--save-xml.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/save-xml.c b/save-xml.c
index d6c249730..80c26b882 100644
--- a/save-xml.c
+++ b/save-xml.c
@@ -182,6 +182,7 @@ static void save_overview(FILE *f, struct dive *dive)
show_location(f, dive);
show_utf8(f, dive->divemaster, " <divemaster>","</divemaster>\n");
show_utf8(f, dive->buddy, " <buddy>","</buddy>\n");
+ fprintf(f, " <rating>%d</rating>\n", dive->rating);
show_utf8(f, dive->notes, " <notes>","</notes>\n");
}