From 76806e9a1e2c56f31d7a96c02ea194d3cc5bbc0e Mon Sep 17 00:00:00 2001 From: Jonathan Blandford Date: Wed, 4 Oct 2000 23:16:05 +0000 Subject: [PATCH] Fix obvious bug in circle drawing. 2000-10-04 Jonathan Blandford * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle drawing. --- ChangeLog | 5 +++++ ChangeLog.pre-2-0 | 5 +++++ ChangeLog.pre-2-10 | 5 +++++ ChangeLog.pre-2-2 | 5 +++++ ChangeLog.pre-2-4 | 5 +++++ ChangeLog.pre-2-6 | 5 +++++ ChangeLog.pre-2-8 | 5 +++++ gdk/gdkwindow.c | 2 +- 8 files changed, 36 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 0a60fa3ee9..3bb78c444f 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2000-10-04 Jonathan Blandford + + * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle + drawing. + Wed Oct 4 15:52:15 2000 * gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed): diff --git a/ChangeLog.pre-2-0 b/ChangeLog.pre-2-0 index 0a60fa3ee9..3bb78c444f 100644 --- a/ChangeLog.pre-2-0 +++ b/ChangeLog.pre-2-0 @@ -1,3 +1,8 @@ +2000-10-04 Jonathan Blandford + + * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle + drawing. + Wed Oct 4 15:52:15 2000 * gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed): diff --git a/ChangeLog.pre-2-10 b/ChangeLog.pre-2-10 index 0a60fa3ee9..3bb78c444f 100644 --- a/ChangeLog.pre-2-10 +++ b/ChangeLog.pre-2-10 @@ -1,3 +1,8 @@ +2000-10-04 Jonathan Blandford + + * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle + drawing. + Wed Oct 4 15:52:15 2000 * gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed): diff --git a/ChangeLog.pre-2-2 b/ChangeLog.pre-2-2 index 0a60fa3ee9..3bb78c444f 100644 --- a/ChangeLog.pre-2-2 +++ b/ChangeLog.pre-2-2 @@ -1,3 +1,8 @@ +2000-10-04 Jonathan Blandford + + * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle + drawing. + Wed Oct 4 15:52:15 2000 * gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed): diff --git a/ChangeLog.pre-2-4 b/ChangeLog.pre-2-4 index 0a60fa3ee9..3bb78c444f 100644 --- a/ChangeLog.pre-2-4 +++ b/ChangeLog.pre-2-4 @@ -1,3 +1,8 @@ +2000-10-04 Jonathan Blandford + + * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle + drawing. + Wed Oct 4 15:52:15 2000 * gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed): diff --git a/ChangeLog.pre-2-6 b/ChangeLog.pre-2-6 index 0a60fa3ee9..3bb78c444f 100644 --- a/ChangeLog.pre-2-6 +++ b/ChangeLog.pre-2-6 @@ -1,3 +1,8 @@ +2000-10-04 Jonathan Blandford + + * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle + drawing. + Wed Oct 4 15:52:15 2000 * gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed): diff --git a/ChangeLog.pre-2-8 b/ChangeLog.pre-2-8 index 0a60fa3ee9..3bb78c444f 100644 --- a/ChangeLog.pre-2-8 +++ b/ChangeLog.pre-2-8 @@ -1,3 +1,8 @@ +2000-10-04 Jonathan Blandford + + * gdk/gdkwindow.c (gdk_window_draw_arc): Fix obvious bug in circle + drawing. + Wed Oct 4 15:52:15 2000 * gdk/x11/gdkselection-x11.c (_gdk_selection_window_destroyed): diff --git a/gdk/gdkwindow.c b/gdk/gdkwindow.c index bad3113e63..d804aa2682 100644 --- a/gdk/gdkwindow.c +++ b/gdk/gdkwindow.c @@ -937,7 +937,7 @@ gdk_window_draw_arc (GdkDrawable *drawable, { GdkWindowPaint *paint = private->paint_stack->data; gdk_draw_arc (paint->pixmap, gc, filled, - x - x_offset, y_offset, + x - x_offset, y - y_offset, width, height, angle1, angle2); } else