gimp r26889 - in trunk: . plug-ins/file-psd
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26889 - in trunk: . plug-ins/file-psd
- Date: Sat, 6 Sep 2008 15:22:30 +0000 (UTC)
Author: martinn
Date: Sat Sep 6 15:22:30 2008
New Revision: 26889
URL: http://svn.gnome.org/viewvc/gimp?rev=26889&view=rev
Log:
* plug-ins/file-psd/psd-load.c (add_merged_image): Use the new
COMP_MODE_SIZE constant instead of a magic number.
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 Sat Sep 6 15:22:30 2008
@@ -1440,7 +1440,7 @@
block_end = block_start + block_len;
fseek (f, block_start, SEEK_SET);
- if (fread (&comp_mode, 2, 1, f) < 1)
+ if (fread (&comp_mode, COMP_MODE_SIZE, 1, f) < 1)
{
psd_set_error (feof (f), errno, error);
return -1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]