diff options
author | Wildemann Stefan <stefan.wildemann@corpuls.com> | 2019-08-29 13:18:24 +0200 |
---|---|---|
committer | Wildemann Stefan <stefan.wildemann@corpuls.com> | 2019-08-29 13:18:24 +0200 |
commit | 5578cb450a6e7be115cfb5a65cbe1b50216ec5b9 (patch) | |
tree | e0babb20ae5c43dbaf52f32243352459b0c077aa | |
parent | 9ebb1ce4109510b6e38a3388980089aa832cd30d (diff) | |
download | navit-5578cb450a6e7be115cfb5a65cbe1b50216ec5b9.tar.gz |
Close before fill
-rw-r--r-- | navit/graphics/win32/graphics_win32.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/navit/graphics/win32/graphics_win32.c b/navit/graphics/win32/graphics_win32.c index b6d9e0129..33dd72d2b 100644 --- a/navit/graphics/win32/graphics_win32.c +++ b/navit/graphics/win32/graphics_win32.c @@ -871,10 +871,10 @@ static void draw_polygon_with_holes (struct graphics_priv *gr, struct graphics_g } else Polyline( gr->hMemDC, (POINT *)(holes[a]), ccount[a]); } - /* fill the shape */ - FillPath(gr->hMemDC); /* done with this path */ EndPath(gr->hMemDC); + /* fill the shape */ + FillPath(gr->hMemDC); } /* restore fill mode */ |