[gimp] file-psd: Move variables to local block
- From: Mukund Sivaraman <muks src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp] file-psd: Move variables to local block
- Date: Thu, 6 Oct 2011 14:27:41 +0000 (UTC)
commit b613969d8b6f2014f3e020f6a2a817b7b6cff57c
Author: Mukund Sivaraman <muks banu com>
Date: Thu Oct 6 19:49:47 2011 +0530
file-psd: Move variables to local block
plug-ins/file-psd/psd-load.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
---
diff --git a/plug-ins/file-psd/psd-load.c b/plug-ins/file-psd/psd-load.c
index b6bff14..f2a409b 100644
--- a/plug-ins/file-psd/psd-load.c
+++ b/plug-ins/file-psd/psd-load.c
@@ -1497,9 +1497,6 @@ add_merged_image (const gint32 image_id,
guint16 extra_channels;
guint16 total_channels;
guint16 *rle_pack_len[MAX_CHANNELS];
- guint32 block_len;
- guint32 block_start;
- guint32 block_end;
guint32 alpha_id;
gint32 layer_size;
gint32 layer_id = -1;
@@ -1548,6 +1545,10 @@ add_merged_image (const gint32 image_id,
if (img_a->num_layers == 0
|| extra_channels > 0)
{
+ guint32 block_len;
+ guint32 block_start;
+ guint32 block_end;
+
block_start = img_a->merged_image_start;
block_len = img_a->merged_image_len;
block_end = block_start + block_len;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]