fixed a drawing bug I introduced earlier today.

2004-07-07  Sven Neumann  <sven@gimp.org>

	* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
	fixed a drawing bug I introduced earlier today.
This commit is contained in:
Sven Neumann 2004-07-07 01:59:33 +00:00 committed by Sven Neumann
parent 2086cf17cc
commit 2d412472c2
2 changed files with 9 additions and 3 deletions

View file

@ -1,3 +1,8 @@
2004-07-07 Sven Neumann <sven@gimp.org>
* app/widgets/gimphistogramview.c (gimp_histogram_view_expose):
fixed a drawing bug I introduced earlier today.
2004-07-07 Michael Natterer <mitch@gimp.org>
* app/actions/view-actions.c

View file

@ -354,10 +354,11 @@ gimp_histogram_view_expose (GtkWidget *widget,
if (! (x1 == 0 && x2 == 255))
{
gint k;
gint k = i;
for (k = i; k < j && !in_selection; k++)
in_selection = (x1 <= k && k <= x2);
do
in_selection |= (x1 <= k && k <= x2);
while (++k < j);
}
if (view->subdivisions > 1 && x >= (xstop * width / view->subdivisions))