mirror of https://github.com/GNOME/gimp.git
Er, fix it right this time. :) --sg
Er, fix it right this time. :) --sg
This commit is contained in:
parent
891d2a6ad2
commit
4045689446
|
@ -1062,10 +1062,6 @@ generate_histogram_rgb (Histogram histogram,
|
|||
|
||||
/* Remember the new colour we just found.
|
||||
*/
|
||||
found_cols[num_found_cols][0] = data[RED_PIX];
|
||||
found_cols[num_found_cols][1] = data[GREEN_PIX];
|
||||
found_cols[num_found_cols][2] = data[BLUE_PIX];
|
||||
|
||||
if (num_found_cols > col_limit)
|
||||
{
|
||||
/* There are more colours in the image
|
||||
|
@ -1078,6 +1074,10 @@ generate_histogram_rgb (Histogram histogram,
|
|||
goto already_found;
|
||||
}
|
||||
|
||||
found_cols[num_found_cols][0] = data[RED_PIX];
|
||||
found_cols[num_found_cols][1] = data[GREEN_PIX];
|
||||
found_cols[num_found_cols][2] = data[BLUE_PIX];
|
||||
|
||||
num_found_cols++;
|
||||
|
||||
}
|
||||
|
|
|
@ -1062,10 +1062,6 @@ generate_histogram_rgb (Histogram histogram,
|
|||
|
||||
/* Remember the new colour we just found.
|
||||
*/
|
||||
found_cols[num_found_cols][0] = data[RED_PIX];
|
||||
found_cols[num_found_cols][1] = data[GREEN_PIX];
|
||||
found_cols[num_found_cols][2] = data[BLUE_PIX];
|
||||
|
||||
if (num_found_cols > col_limit)
|
||||
{
|
||||
/* There are more colours in the image
|
||||
|
@ -1078,6 +1074,10 @@ generate_histogram_rgb (Histogram histogram,
|
|||
goto already_found;
|
||||
}
|
||||
|
||||
found_cols[num_found_cols][0] = data[RED_PIX];
|
||||
found_cols[num_found_cols][1] = data[GREEN_PIX];
|
||||
found_cols[num_found_cols][2] = data[BLUE_PIX];
|
||||
|
||||
num_found_cols++;
|
||||
|
||||
}
|
||||
|
|
|
@ -1062,10 +1062,6 @@ generate_histogram_rgb (Histogram histogram,
|
|||
|
||||
/* Remember the new colour we just found.
|
||||
*/
|
||||
found_cols[num_found_cols][0] = data[RED_PIX];
|
||||
found_cols[num_found_cols][1] = data[GREEN_PIX];
|
||||
found_cols[num_found_cols][2] = data[BLUE_PIX];
|
||||
|
||||
if (num_found_cols > col_limit)
|
||||
{
|
||||
/* There are more colours in the image
|
||||
|
@ -1078,6 +1074,10 @@ generate_histogram_rgb (Histogram histogram,
|
|||
goto already_found;
|
||||
}
|
||||
|
||||
found_cols[num_found_cols][0] = data[RED_PIX];
|
||||
found_cols[num_found_cols][1] = data[GREEN_PIX];
|
||||
found_cols[num_found_cols][2] = data[BLUE_PIX];
|
||||
|
||||
num_found_cols++;
|
||||
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue