diff --git a/ChangeLog b/ChangeLog index 9e111b5f2..df45d4b71 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,7 @@ +2010-03-25 Mike Kestner + + * gdk/Rectangle.custom: off-by-one in Right/Bottom. [Fixes #591148] + 2009-12-28 Mike Kestner * glib/glue/Makefile.am: fix a copy/paste issue. diff --git a/gdk/Rectangle.custom b/gdk/Rectangle.custom index 143d22c03..e17fc47ed 100644 --- a/gdk/Rectangle.custom +++ b/gdk/Rectangle.custom @@ -121,10 +121,10 @@ public int Top { get { return Y; } } public int Bottom { - get { return Y + Height; } + get { return Y + Height - 1; } } public int Right { - get { return X + Width; } + get { return X + Width - 1; } } public int Left { get { return X; }