Skip to content

Commit

Permalink
Merge pull request #903 from mvglasow/issue903
Browse files Browse the repository at this point in the history
Fix:traffic:Determine item delay correctly
  • Loading branch information
mvglasow committed Oct 8, 2019
2 parents b766474 + 2b4798a commit ef43e78
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion navit/traffic.c
Original file line number Diff line number Diff line change
Expand Up @@ -616,7 +616,7 @@ static void tm_item_update_attrs(struct item * item, struct route * route) {
msgdata = (struct item_msg_priv *) msglist->data;
if (msgdata->speed < speed)
speed = msgdata->speed;
if (msgdata->delay < delay)
if (msgdata->delay > delay)
delay = msgdata->delay;
/* TODO attrs */
}
Expand Down

0 comments on commit ef43e78

Please sign in to comment.