[gimp] plug-ins: Use the correct enum value in file-psp



commit 7a9793ba6eaf9c32d0b49025a77aafdfd6aac250
Author: Mukund Sivaraman <muks banu com>
Date:   Fri Oct 8 22:53:04 2010 +0530

    plug-ins: Use the correct enum value in file-psp

 plug-ins/common/file-psp.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plug-ins/common/file-psp.c b/plug-ins/common/file-psp.c
index 07efd04..da53903 100644
--- a/plug-ins/common/file-psp.c
+++ b/plug-ins/common/file-psp.c
@@ -1104,7 +1104,7 @@ channel_type_name (gint type)
   };
   static gchar *err_name = NULL;
 
-  if (type >= 0 && type <= PSP_DIB_THUMBNAIL)
+  if (type >= 0 && type <= PSP_CHANNEL_BLUE)
     return channel_type_names[type];
 
   g_free (err_name);



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