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

-Yosh
This commit is contained in:
Manish Singh 1998-04-30 23:56:07 +00:00
parent 401690a4fe
commit 0e0976de94
3 changed files with 7 additions and 2 deletions

View File

@ -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>
* updated randomize and blur plugins, split out libgpc into

View File

@ -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;

View File

@ -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;