From 346bb9f31fb843515166e664629bdd128d23c722 Mon Sep 17 00:00:00 2001 From: Willem Ferguson Date: Wed, 16 May 2018 08:56:11 +0200 Subject: Bugfix: Saving divemode to xml and to git There is a space character missing in the xml generated by the present code. Insert a space character. Signed-off-by: Willem Ferguson --- core/save-git.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'core/save-git.c') 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, ""); -- cgit v1.2.3-70-g09d2