[gimp/metadata-browser] file-psd: Move variables to local block
- From: Roman Joost <romanofski src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/metadata-browser] file-psd: Move variables to local block
- Date: Fri, 2 Dec 2011 02:10:46 +0000 (UTC)
commit fd885281b2be3654c76e1079b5d4e299e5f36459
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]