summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Anton Lundin <glance@acc.umu.se>2015-01-24 00:29:35 +0100
committerGravatar Dirk Hohndel <dirk@hohndel.org>2015-01-24 12:33:38 +1200
commit87153cefaad9a9bf78fde5a1cf282db02f1894dc (patch)
tree52aadb127d34e74b20ec0573d5611e38f21c061d
parentf0e68137d770ad5547deea246faeef99dc589adf (diff)
downloadsubsurface-87153cefaad9a9bf78fde5a1cf282db02f1894dc.tar.gz
DLF import: Add bailout flag to GF-changed event
Signed-off-by: Anton Lundin <glance@acc.umu.se> Signed-off-by: Dirk Hohndel <dirk@hohndel.org>
-rw-r--r--parse-xml.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse-xml.c b/parse-xml.c
index e48f75016..86d0d9751 100644
--- a/parse-xml.c
+++ b/parse-xml.c
@@ -2804,7 +2804,7 @@ int parse_dlf_buffer(unsigned char *buffer, size_t size)
strcpy(cur_event.name, "User mark");
break;
case 27:
- snprintf(cur_event.name, MAX_EVENT_NAME, "GF Switch (%d/%d)", ptr[7], ptr[8]);
+ snprintf(cur_event.name, MAX_EVENT_NAME, "%sGF Switch (%d/%d)", ptr[6] ? "Bailout, ": "", ptr[7], ptr[8]);
break;
case 28:
strcpy(cur_event.name, "Peer Up");