plug-ins: coding style cleaning.

Trailing whitespaces here and there, alignment issues, and so on…
Also get rid of an unused variable.
This commit is contained in:
Jehan
2018-03-16 22:05:37 +01:00
parent a9a3a67cf2
commit f2c80e1878

View File

@ -826,6 +826,7 @@ color_esycc_to_rgb (opj_image_t *image)
image->color_space = OPJ_CLRSPC_SRGB;
return TRUE;
}
/*
* get_valid_precision() converts given precision to standard precision
* of gimp i.e. 8, 16, 32
@ -880,7 +881,6 @@ load_image (const gchar *filename,
gint width;
gint height;
gint num_components;
gint colorspace_family;
GeglBuffer *buffer;
gint i, j, k, it;
guchar *pixels;
@ -1116,8 +1116,8 @@ load_image (const gchar *filename,
{
if (shift >= 0)
temp = image->comps[j].data[i * width + k] << shift;
else
temp = image->comps[j].data[i * width + k] >> (- shift); /*precision_actual > 32*/
else /* precision_actual > 32 */
temp = image->comps[j].data[i * width + k] >> (- shift);
c = (unsigned char *) &temp;
for (it = 0; it < (precision_scaled / 8); it++)