comparison src/layout.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 1bac19d5a663
children 135570a8bd96
comparison
equal deleted inserted replaced
505:60f75a9799b2 506:fc9c8a3e1a8b
1030 1030
1031 void layout_refresh(LayoutWindow *lw) 1031 void layout_refresh(LayoutWindow *lw)
1032 { 1032 {
1033 if (!layout_valid(&lw)) return; 1033 if (!layout_valid(&lw)) return;
1034 1034
1035 DEBUG_1("layout refresh\n"); 1035 DEBUG_1("layout refresh");
1036 1036
1037 layout_refresh_lists(lw); 1037 layout_refresh_lists(lw);
1038 1038
1039 if (lw->image) layout_image_refresh(lw); 1039 if (lw->image) layout_image_refresh(lw);
1040 } 1040 }
1051 1051
1052 new_time = filetime(lw->path); 1052 new_time = filetime(lw->path);
1053 1053
1054 if (new_time > 0 && new_time > lw->last_time) 1054 if (new_time > 0 && new_time > lw->last_time)
1055 { 1055 {
1056 DEBUG_1("layout path time changed, refreshing...\n"); 1056 DEBUG_1("layout path time changed, refreshing...");
1057 layout_refresh_by_time(lw); 1057 layout_refresh_by_time(lw);
1058 } 1058 }
1059 } 1059 }
1060 1060
1061 return TRUE; 1061 return TRUE;