aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/fit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fit.c b/src/fit.c
index bdbb7e9..7eec60e 100644
--- a/src/fit.c
+++ b/src/fit.c
@@ -6161,7 +6161,7 @@ skip_mc:
while (1) {
unpack_ev(b.data, &bev);
- if (gtid > 0 && ev.gtid != gtid) goto skip_event;
+ if (gtid > 0 && bev.gtr_id != gtid) goto skip_event;
if (bev.run != last_run) {
printf("loading DQXX file for run %010i\n", bev.run);