comparison 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
comparison
equal deleted inserted replaced
505:60f75a9799b2 506:fc9c8a3e1a8b
1244 vfl); 1244 vfl);
1245 1245
1246 if (!thumb_loader_start(vfl->thumbs_loader, fd->path)) 1246 if (!thumb_loader_start(vfl->thumbs_loader, fd->path))
1247 { 1247 {
1248 /* set icon to unknown, continue */ 1248 /* set icon to unknown, continue */
1249 DEBUG_1("thumb loader start failed %s\n", vfl->thumbs_loader->path); 1249 DEBUG_1("thumb loader start failed %s", vfl->thumbs_loader->path);
1250 vflist_thumb_do(vfl, vfl->thumbs_loader, fd); 1250 vflist_thumb_do(vfl, vfl->thumbs_loader, fd);
1251 1251
1252 return TRUE; 1252 return TRUE;
1253 } 1253 }
1254 1254
2244 2244
2245 n = vflist_count(vfl, NULL); 2245 n = vflist_count(vfl, NULL);
2246 if (ignore_list) 2246 if (ignore_list)
2247 { 2247 {
2248 new_row = vflist_maint_find_closest(vfl, row, n, ignore_list); 2248 new_row = vflist_maint_find_closest(vfl, row, n, ignore_list);
2249 DEBUG_1("row = %d, closest is %d\n", row, new_row); 2249 DEBUG_1("row = %d, closest is %d", row, new_row);
2250 } 2250 }
2251 else 2251 else
2252 { 2252 {
2253 if (row + 1 < n) 2253 if (row + 1 < n)
2254 { 2254 {