Commit 0e0976de authored by Manish Singh's avatar Manish Singh

fix for off-by-one error in channel position from Andy Thomas

-Yosh
parent 401690a4
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>
* updated randomize and blur plugins, split out libgpc into
......
......@@ -321,7 +321,7 @@ channels_dialog_flush ()
/* Switch positions of items if necessary */
list = channelsD->channel_widgets;
pos = -channelsD->num_components;
pos = -channelsD->num_components + 1;
while (list)
{
cw = (ChannelWidget *) list->data;
......
......@@ -321,7 +321,7 @@ channels_dialog_flush ()
/* Switch positions of items if necessary */
list = channelsD->channel_widgets;
pos = -channelsD->num_components;
pos = -channelsD->num_components + 1;
while (list)
{
cw = (ChannelWidget *) list->data;
......
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