mirror of
https://gitlab.gnome.org/GNOME/gimp
synced 2024-10-20 19:43:01 +00:00
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:
parent
2086cf17cc
commit
2d412472c2
|
@ -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
|
||||
|
|
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue