diff options
author | mvglasow <michael -at- vonglasow.com> | 2019-08-12 21:43:47 +0200 |
---|---|---|
committer | mvglasow <michael -at- vonglasow.com> | 2019-08-12 21:43:47 +0200 |
commit | d82c3bab9c893d63741c96062dbacb3896c0e15c (patch) | |
tree | d95c52231b06d57be6f4c7a0d7b8d6f998c0ea98 /navit/traffic.c | |
parent | 2a9c0c635757cdbd85e43b3e9d857b11791d8371 (diff) | |
download | navit-d82c3bab9c893d63741c96062dbacb3896c0e15c.tar.gz |
Fix:traffic:Make sanity check happy
Signed-off-by: mvglasow <michael -at- vonglasow.com>
Diffstat (limited to 'navit/traffic.c')
-rw-r--r-- | navit/traffic.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/navit/traffic.c b/navit/traffic.c index ff06a7921..865c0803b 100644 --- a/navit/traffic.c +++ b/navit/traffic.c @@ -947,7 +947,7 @@ static struct map_rect_priv * tm_rect_new(struct map_priv *priv, struct map_sele if (message->location->priv->txt_data) { dbg(lvl_debug, "location has txt_data, trying to restore"); traffic_message_restore_segments(message, priv->shared->ms, - priv->shared->map, priv->shared->rt); + priv->shared->map, priv->shared->rt); } else { dbg(lvl_debug, "location has no txt_data, nothing to restore"); } @@ -4387,7 +4387,7 @@ static int traffic_process_messages_int(struct traffic * this_, int flags) { if (message->location->priv->txt_data) { dbg(lvl_debug, "location has txt_data, trying to restore segments"); traffic_message_restore_segments(message, this_->shared->ms, - this_->shared->map, this_->shared->rt); + this_->shared->map, this_->shared->rt); } else { dbg(lvl_debug, "location has no txt_data, nothing to restore"); } @@ -4400,7 +4400,7 @@ static int traffic_process_messages_int(struct traffic * this_, int flags) { if (!message->priv->items) { /* TODO do this in an idle loop, not here */ traffic_message_add_segments(message, this_->shared->ms, data, - this_->shared->map, this_->shared->rt); + this_->shared->map, this_->shared->rt); break; map_selection_destroy(loc_ms); map_selection_destroy(rt_ms); |