diff src/view_file_icon.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 cc46a09d0805
children 135570a8bd96
line wrap: on
line diff
--- a/src/view_file_icon.c	Wed Apr 23 23:52:20 2008 +0000
+++ b/src/view_file_icon.c	Thu Apr 24 00:15:03 2008 +0000
@@ -909,7 +909,7 @@
 		col2 = t;
 		}
 
-	DEBUG_1("table: %d x %d to %d x %d\n", row1, col1, row2, col2);
+	DEBUG_1("table: %d x %d to %d x %d", row1, col1, row2, col2);
 
 	for (i = row1; i <= row2; i++)
 		{
@@ -1743,7 +1743,7 @@
 
 	vficon_populate(vfi, TRUE, TRUE);
 
-	DEBUG_1("col tab pop cols=%d rows=%d\n", vfi->columns, vfi->rows);
+	DEBUG_1("col tab pop cols=%d rows=%d", vfi->columns, vfi->rows);
 }
 
 static void vficon_sync(ViewFileIcon *vfi)
@@ -2010,7 +2010,7 @@
 	if (!thumb_loader_start(vfi->thumbs_loader, fd->path))
 		{
 		/* set icon to unknown, continue */
-		DEBUG_1("thumb loader start failed %s\n", vfi->thumbs_loader->path);
+		DEBUG_1("thumb loader start failed %s", vfi->thumbs_loader->path);
 		vficon_thumb_do(vfi, vfi->thumbs_loader, fd);
 
 		return TRUE;
@@ -2626,7 +2626,7 @@
 			if (ignore_list)
 				{
 				new_row = vficon_maint_find_closest(vfi, row, n, ignore_list);
-				DEBUG_1("row = %d, closest is %d\n", row, new_row);
+				DEBUG_1("row = %d, closest is %d", row, new_row);
 				}
 			else
 				{