diff options
-rw-r--r-- | parse-xml.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c index e6472735d..50f83f68b 100644 --- a/parse-xml.c +++ b/parse-xml.c @@ -1175,7 +1175,7 @@ static void event_start(void) static void event_end(void) { - if (event.name) + if (event.name && strcmp(event.name, "surface") != 0) add_event(dive, event.time.seconds, event.type, event.flags, event.value, event.name); event.active = 0; } |