summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
Diffstat (limited to 'core')
-rw-r--r--core/save-git.c2
-rw-r--r--core/save-xml.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/core/save-git.c b/core/save-git.c
index c0f098d44..df6044c77 100644
--- a/core/save-git.c
+++ b/core/save-git.c
@@ -376,7 +376,7 @@ static void save_one_event(struct membuffer *b, struct dive *dive, struct event
show_index(b, ev->flags, "flags=", "");
if (!strcmp(ev->name,"modechange"))
- show_utf8(b, "divemode=", divemode_text[ev->value], "");
+ show_utf8(b, " divemode=", divemode_text[ev->value], "");
else
show_index(b, ev->value, "value=", "");
show_utf8(b, " name=", ev->name, "");
diff --git a/core/save-xml.c b/core/save-xml.c
index 9eece665e..7198421e1 100644
--- a/core/save-xml.c
+++ b/core/save-xml.c
@@ -302,7 +302,7 @@ static void save_one_event(struct membuffer *b, struct dive *dive, struct event
show_index(b, ev->type, "type='", "'");
show_index(b, ev->flags, "flags='", "'");
if (!strcmp(ev->name,"modechange"))
- show_utf8(b, divemode_text[ev->value], "divemode='", "'",1);
+ show_utf8(b, divemode_text[ev->value], " divemode='", "'",1);
else
show_index(b, ev->value, "value='", "'");
show_utf8(b, ev->name, " name='", "'", 1);