diff src/layout_image.c @ 207:ec068409bee7

fixed color management initialization
author nadvornik
date Sat, 29 Mar 2008 10:11:02 +0000
parents f6e307c7bad6
children fa0e05f985c3
line wrap: on
line diff
--- a/src/layout_image.c	Wed Mar 26 12:07:00 2008 +0000
+++ b/src/layout_image.c	Sat Mar 29 10:11:02 2008 +0000
@@ -1618,13 +1618,13 @@
 
 		if (black_window_background) image_background_set_black(lw->split_images[i], TRUE);
 
-		image_auto_refresh(lw->image, 0);
+		image_auto_refresh(lw->split_images[i], 0);
 
 		layout_image_dnd_init(lw, i);
-		image_color_profile_set(lw->image,
+		image_color_profile_set(lw->split_images[i],
 					color_profile_input_type, color_profile_screen_type,
 					color_profile_use_image);
-		image_color_profile_set_use(lw->image, color_profile_enabled);
+		image_color_profile_set_use(lw->split_images[i], color_profile_enabled);
 		}
 
 	return lw->split_images[i]->widget;