diff src/view_file_list.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 a33badd85f16
children 135570a8bd96
line wrap: on
line diff
--- a/src/view_file_list.c	Wed Apr 23 23:52:20 2008 +0000
+++ b/src/view_file_list.c	Thu Apr 24 00:15:03 2008 +0000
@@ -1246,7 +1246,7 @@
 	if (!thumb_loader_start(vfl->thumbs_loader, fd->path))
 		{
 		/* set icon to unknown, continue */
-		DEBUG_1("thumb loader start failed %s\n", vfl->thumbs_loader->path);
+		DEBUG_1("thumb loader start failed %s", vfl->thumbs_loader->path);
 		vflist_thumb_do(vfl, vfl->thumbs_loader, fd);
 
 		return TRUE;
@@ -2246,7 +2246,7 @@
 		if (ignore_list)
 			{
 			new_row = vflist_maint_find_closest(vfl, 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
 			{