diff options
author | Guido Günther <agx@sigxcpu.org> | 2014-03-26 07:53:33 +0100 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2014-03-26 07:58:11 +0100 |
commit | 03e98ed26beb56b18a6856391a765f1ae93c4a7f (patch) | |
tree | 97b45364219c0c2048a0a66e2939d10238fd91fa /libplanfahr/providers | |
parent | 72c73e0a9d316c6a167f02d74f07b551670352bf (diff) |
Store real time arrival/departue information on the correct stops
Diffstat (limited to 'libplanfahr/providers')
-rw-r--r-- | libplanfahr/providers/hafas-bin6.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libplanfahr/providers/hafas-bin6.c b/libplanfahr/providers/hafas-bin6.c index 3389983..4970a55 100644 --- a/libplanfahr/providers/hafas-bin6.c +++ b/libplanfahr/providers/hafas-bin6.c @@ -357,14 +357,14 @@ hafas_bin6_parse_each_trip (const gchar *data, gsize num, guint base, const char h = pd->arr_pred / 100; m = pd->arr_pred % 100; dt = lpf_provider_hafas_bin6_date_time (base, day_off, h, m); - g_object_set (start, "rt_arrival", dt, NULL); + g_object_set (end, "rt_arrival", dt, NULL); } if (pd->dep_pred != HAFAS_BIN6_NO_REALTIME) { h = pd->dep_pred / 100; m = pd->dep_pred % 100; dt = lpf_provider_hafas_bin6_date_time (base, day_off, h, m); - g_object_set (end, "rt_departure", dt, NULL); + g_object_set (start, "rt_departure", dt, NULL); } LPF_DEBUG("Trip #%d, part #%d, Pred. Dep Plat: %s, Pred. Arr Plat: %s", i, j, |