changeset 1583:c1e22cba4003

merged
author Yoshiki Yazawa <yaz@honeyplanet.jp>
date Fri, 01 May 2009 15:48:48 +0900
parents cef502852c4f (current diff) 8c018844df9a (diff)
children 9a64eda3e020
files src/image.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/image.c	Fri May 01 15:48:11 2009 +0900
+++ b/src/image.c	Fri May 01 15:48:48 2009 +0900
@@ -243,7 +243,7 @@
 		screen_type = COLOR_PROFILE_MEM;
 		DEBUG_1("Using X11 screen profile, length: %d", screen_profile_len);
 		}
-	else if (options->color_profile.screen_file &&
+	if (options->color_profile.screen_file &&
 	    is_readable_file(options->color_profile.screen_file))
 		{
 		screen_type = COLOR_PROFILE_FILE;
@@ -348,10 +348,10 @@
 #if 0
 		if (run_in_bg) color_man_start_bg(imd->cm, image_post_process_color_cb, imd);
 #endif
+		return TRUE;
 		}
 
-	image_update_util(imd);
-	return !!cm;
+	return FALSE;
 }