summaryrefslogtreecommitdiff
path: root/navit/graphics.c
diff options
context:
space:
mode:
Diffstat (limited to 'navit/graphics.c')
-rw-r--r--navit/graphics.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/navit/graphics.c b/navit/graphics.c
index 5c6f9e5b3..1813a8c36 100644
--- a/navit/graphics.c
+++ b/navit/graphics.c
@@ -1718,6 +1718,7 @@ graphics_draw_polyline_as_polygon(struct graphics_priv *gra_priv, struct graphic
dbg(lvl_debug,"%d,%d width %d\n",pnt[i].x,pnt[i].y,width[i]);
#endif
ctx.shape.l=0;
+ ctx.shape.wi=0;
ctx.res=g_alloca(sizeof(struct point)*maxpoints);
i=0;
draw_init_ctx(&ctx, maxpoints);