changeset 430:a254a7102af5

fixed color profile index
author nadvornik
date Sat, 19 Apr 2008 21:10:18 +0000
parents 831035240885
children d7272434b8c2
files src/image.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/image.c	Sat Apr 19 20:53:12 2008 +0000
+++ b/src/image.c	Sat Apr 19 21:10:18 2008 +0000
@@ -344,7 +344,7 @@
 		{
 		gint n;
 
-		n = imd->color_profile_input - 1;
+		n = imd->color_profile_input - COLOR_PROFILE_FILE;
 		if (!options->color_profile.input_file[n]) return FALSE;
 
 		input_type = COLOR_PROFILE_FILE;