diff --git a/webtools/tinderbox/showbuilds.cgi b/webtools/tinderbox/showbuilds.cgi index e9c22137b09..8de3f0067a9 100755 --- a/webtools/tinderbox/showbuilds.cgi +++ b/webtools/tinderbox/showbuilds.cgi @@ -280,7 +280,8 @@ BEGIN { } my $hour_color = ''; - $hour_color = ' bgcolor=#e7e7e7' if $build_time_times->[$tt] % 7200 <= 3600; + $hour_color = ' bgcolor=#e7e7e7' + if ($build_time_times->[$tt] + 1) % 7200 <= 3600; print "", "$query_link\n$pretty_time$end_query\n"; @@ -337,7 +338,7 @@ BEGIN { # What Changed # # Only add the "C" link if there have been changes since the last build. - if( $br->{previousbuildtime} ){ + if ($br->{previousbuildtime}) { my $previous_br = $build_table->[$tt+$rowspan][$build_index]; my $previous_rowspan = $previous_br->{rowspan}; if (&has_who_list($tt+$rowspan, @@ -593,7 +594,7 @@ sub print_javascript { + builds[buildindex] + "
" + "View Brief Log
" + "View Full Log
" - + "Add a Comment
" + + "Add a Comment" + ""); q.document.close(); return false;