diff --git a/src/gnome-utils/gnc-dense-cal.c b/src/gnome-utils/gnc-dense-cal.c index 47bf716799..9a3a905029 100644 --- a/src/gnome-utils/gnc-dense-cal.c +++ b/src/gnome-utils/gnc-dense-cal.c @@ -1620,7 +1620,7 @@ wheres_this(GncDenseCal *dcal, int x, int y) { return -1; } - if (y >= col_height(dcal)) + if (y >= dcal->dayLabelHeight + col_height(dcal)) { return -1; }