gimp r27176 - in trunk: . plug-ins/file-psd
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r27176 - in trunk: . plug-ins/file-psd
- Date: Wed, 8 Oct 2008 18:09:47 +0000 (UTC)
Author: martinn
Date: Wed Oct 8 18:09:47 2008
New Revision: 27176
URL: http://svn.gnome.org/viewvc/gimp?rev=27176&view=rev
Log:
* plug-ins/file-psd/psd-load.c (add_layers): Decrease scope of
comp_mode and initialize it.
Modified:
trunk/ChangeLog
trunk/plug-ins/file-psd/psd-load.c
Modified: trunk/plug-ins/file-psd/psd-load.c
==============================================================================
--- trunk/plug-ins/file-psd/psd-load.c (original)
+++ trunk/plug-ins/file-psd/psd-load.c Wed Oct 8 18:09:47 2008
@@ -962,7 +962,6 @@
{
PSDchannel **lyr_chn;
guchar *pixels;
- guint16 comp_mode;
guint16 alpha_chn;
guint16 user_mask_chn;
guint16 layer_channels;
@@ -1056,6 +1055,8 @@
lyr_chn = g_new (PSDchannel *, lyr_a[lidx]->num_channels);
for (cidx = 0; cidx < lyr_a[lidx]->num_channels; ++cidx)
{
+ guint16 comp_mode = PSD_COMP_RAW;
+
/* Allocate channel record */
lyr_chn[cidx] = g_malloc (sizeof (PSDchannel) );
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]