Commit 2d412472 authored by Sven Neumann's avatar Sven Neumann Committed by Sven Neumann

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.
parent 2086cf17
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
......
......@@ -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))
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment