summaryrefslogtreecommitdiff
path: root/gdk
diff options
context:
space:
mode:
Diffstat (limited to 'gdk')
-rw-r--r--gdk/gdkdraw.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gdk/gdkdraw.c b/gdk/gdkdraw.c
index 5b72dd75ad..ab4d8530ed 100644
--- a/gdk/gdkdraw.c
+++ b/gdk/gdkdraw.c
@@ -993,7 +993,7 @@ gdk_draw_trapezoids (GdkDrawable *drawable,
cairo_move_to (cr, trapezoids[i].x11, trapezoids[i].y1);
cairo_line_to (cr, trapezoids[i].x21, trapezoids[i].y1);
cairo_line_to (cr, trapezoids[i].x22, trapezoids[i].y2);
- cairo_line_to (cr, trapezoids[i].x21, trapezoids[i].y2);
+ cairo_line_to (cr, trapezoids[i].x12, trapezoids[i].y2);
cairo_close_path (cr);
}