gimp r26886 - in trunk: . plug-ins/file-psd
- From: martinn svn gnome org
- To: svn-commits-list gnome org
- Subject: gimp r26886 - in trunk: . plug-ins/file-psd
- Date: Sat, 6 Sep 2008 12:21:18 +0000 (UTC)
Author: martinn
Date: Sat Sep 6 12:21:18 2008
New Revision: 26886
URL: http://svn.gnome.org/viewvc/gimp?rev=26886&view=rev
Log:
* plug-ins/file-psd/psd-load.c (add_layers): Also consider unknown
compression methods unsupported. This gives an error message
instead of a crash for bug #544939. The PSD loader still fails to
read the correct compression method however.
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 12:21:18 2008
@@ -1137,6 +1137,7 @@
case PSD_COMP_ZIP: /* ? */
case PSD_COMP_ZIP_PRED:
+ default:
g_set_error (error, G_FILE_ERROR, G_FILE_ERROR_FAILED,
_("Unsupported compression mode: %d"), comp_mode);
return -1;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]