summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--parse-xml.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/parse-xml.c b/parse-xml.c
index 6894ec02b..c5ed21a54 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2053,8 +2053,9 @@ extern int dm4_events(void *handle, int columns, char **data, char **column)
break;
case 257:
/* 257 Dive active */
- /* This seems to be given after surface
- * when descending again. Ignoring it. */
+ /* This seems to be given after surface when
+ * descending again. */
+ strcpy(cur_event.name, "surface");
break;
case 258:
/* 258 Bookmark */