[gimp] file-exr: Fix loading of Fog.exr from openexr-images-1.7.0



commit 794600123509e30a51933ae89c7e20d254f1fad2
Author: Mukund Sivaraman <muks banu com>
Date:   Tue May 7 11:47:01 2013 +0530

    file-exr: Fix loading of Fog.exr from openexr-images-1.7.0

 plug-ins/file-exr/file-exr.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/file-exr/file-exr.c b/plug-ins/file-exr/file-exr.c
index 25007e9..2f420a6 100644
--- a/plug-ins/file-exr/file-exr.c
+++ b/plug-ins/file-exr/file-exr.c
@@ -217,7 +217,7 @@ load_image (const gchar  *filename,
       layer_type = has_alpha ? GIMP_RGBA_IMAGE : GIMP_RGB_IMAGE;
       break;
     case IMAGE_TYPE_GRAY:
-      image_precision = GIMP_GRAY;
+      image_type = GIMP_GRAY;
       layer_type = has_alpha ? GIMP_GRAYA_IMAGE : GIMP_GRAY_IMAGE;
       break;
     default:


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]