diff src/color-man.c @ 506:fc9c8a3e1a8b

Handle the newline in DEBUG_N() macro instead of adding one in each debug message string.
author zas_
date Thu, 24 Apr 2008 00:15:03 +0000
parents c7a2471e5c4e
children 135570a8bd96
line wrap: on
line diff
--- a/src/color-man.c	Wed Apr 23 23:52:20 2008 +0000
+++ b/src/color-man.c	Thu Apr 24 00:15:03 2008 +0000
@@ -164,7 +164,7 @@
 
 	if (!cc->profile_in || !cc->profile_out)
 		{
-		DEBUG_1("failed to load color profile for %s: %d %s\n",
+		DEBUG_1("failed to load color profile for %s: %d %s",
 				  (!cc->profile_in) ? "input" : "screen",
 				  (!cc->profile_in) ? cc->profile_in_type : cc->profile_out_type,
 				  (!cc->profile_in) ? cc->profile_in_file : cc->profile_out_file);
@@ -181,7 +181,7 @@
 
 	if (!cc->transform)
 		{
-		DEBUG_1("failed to create color profile transform\n");
+		DEBUG_1("failed to create color profile transform");
 
 		color_man_cache_unref(cc);
 		return NULL;