From 06ffc62b37fe14641683aedf7c0ee7129843cf55 Mon Sep 17 00:00:00 2001 From: Kaj-Michael Lang Date: Fri, 1 Aug 2008 15:40:42 +0300 Subject: [PATCH] MapWidget: Check against correct path type --- libs/libgtkmap/gtkmap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libs/libgtkmap/gtkmap.c b/libs/libgtkmap/gtkmap.c index c7318a5..3c0e595 100644 --- a/libs/libgtkmap/gtkmap.c +++ b/libs/libgtkmap/gtkmap.c @@ -1181,7 +1181,7 @@ for (iter=priv->paths; iter!=NULL; iter=iter->next) { Path *p=(Path *)iter->data; if ( (!(priv->show_paths & ROUTES_MASK) && p->type==PATH_TYPE_ROUTE) || - (!(priv->show_paths & TRACKS_MASK) && p->type==PATH_TYPE_ROUTE) ) + (!(priv->show_paths & TRACKS_MASK) && p->type==PATH_TYPE_TRACK) ) continue; gtk_map_render_path(widget, p, event); -- 2.39.5