mirror of https://github.com/GNOME/gimp.git
fix for off-by-one error in channel position from Andy Thomas
-Yosh
This commit is contained in:
parent
401690a4fe
commit
0e0976de94
|
@ -1,3 +1,8 @@
|
||||||
|
Thu Apr 30 16:49:41 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* app/channels_dialog.c: fix for off-by-one error in channel
|
||||||
|
position from Andy Thomas
|
||||||
|
|
||||||
Thu Apr 30 16:38:59 PDT 1998 Manish Singh <yosh@gimp.org>
|
Thu Apr 30 16:38:59 PDT 1998 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
* updated randomize and blur plugins, split out libgpc into
|
* updated randomize and blur plugins, split out libgpc into
|
||||||
|
|
|
@ -321,7 +321,7 @@ channels_dialog_flush ()
|
||||||
|
|
||||||
/* Switch positions of items if necessary */
|
/* Switch positions of items if necessary */
|
||||||
list = channelsD->channel_widgets;
|
list = channelsD->channel_widgets;
|
||||||
pos = -channelsD->num_components;
|
pos = -channelsD->num_components + 1;
|
||||||
while (list)
|
while (list)
|
||||||
{
|
{
|
||||||
cw = (ChannelWidget *) list->data;
|
cw = (ChannelWidget *) list->data;
|
||||||
|
|
|
@ -321,7 +321,7 @@ channels_dialog_flush ()
|
||||||
|
|
||||||
/* Switch positions of items if necessary */
|
/* Switch positions of items if necessary */
|
||||||
list = channelsD->channel_widgets;
|
list = channelsD->channel_widgets;
|
||||||
pos = -channelsD->num_components;
|
pos = -channelsD->num_components + 1;
|
||||||
while (list)
|
while (list)
|
||||||
{
|
{
|
||||||
cw = (ChannelWidget *) list->data;
|
cw = (ChannelWidget *) list->data;
|
||||||
|
|
Loading…
Reference in New Issue