applied patch from Nils Philippsen that fixes an endianess problem (bug

2007-09-10  Sven Neumann  <sven@gimp.org>

	* plug-ins/common/psp.c: applied patch from Nils Philippsen that
	fixes an endianess problem (bug #475464).

svn path=/trunk/; revision=23492
This commit is contained in:
Sven Neumann 2007-09-10 13:37:39 +00:00 committed by Sven Neumann
parent c35f4644da
commit 0567768821
2 changed files with 9 additions and 4 deletions

View File

@ -1,3 +1,8 @@
2007-09-10 Sven Neumann <sven@gimp.org>
* plug-ins/common/psp.c: applied patch from Nils Philippsen that
fixes an endianess problem (bug #475464).
2007-09-10 Sven Neumann <sven@gimp.org>
* plug-ins/common/lcms.c (lcms_drawable_transform): copy the alpha

View File

@ -1356,10 +1356,10 @@ read_tube_block (FILE *f,
placement_mode = GUINT32_FROM_LE (placement_mode);
selection_mode = GUINT32_FROM_LE (selection_mode);
for (i = 1; i < column_count; i++)
gimp_image_add_vguide (image_ID, (ia->width * i)/column_count);
for (i = 1; i < row_count; i++)
gimp_image_add_hguide (image_ID, (ia->height * i)/row_count);
for (i = 1; i < params.cols; i++)
gimp_image_add_vguide (image_ID, (ia->width * i)/params.cols);
for (i = 1; i < params.rows; i++)
gimp_image_add_hguide (image_ID, (ia->height * i)/params.rows);
/* We use a parasite to pass in the tube (pipe) parameters in
* case we will have any use of those, for instance in the gpb