diff options
author | Willem Ferguson <willemferguson@zoology.up.ac.za> | 2018-05-16 08:56:11 +0200 |
---|---|---|
committer | Dirk Hohndel <dirk@hohndel.org> | 2018-05-17 07:35:58 -0700 |
commit | 346bb9f31fb843515166e664629bdd128d23c722 (patch) | |
tree | f12a35f121a24f52e66591ffdf9350bfddc68c2c /core/save-xml.c | |
parent | 773ee0d990d1b5d9783a9eef5784e7c4963ca02c (diff) | |
download | subsurface-346bb9f31fb843515166e664629bdd128d23c722.tar.gz |
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 <willemferguson@zoology.up.ac.za>
Diffstat (limited to 'core/save-xml.c')
-rw-r--r-- | core/save-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |