fixes to the split on change state

git-svn-id: svn://10.0.0.236/trunk@120743 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
kestes%walrus.com 2002-05-03 23:16:53 +00:00
parent 44829cd301
commit a1f1928ff8

View File

@ -40,8 +40,8 @@
# Contributor(s):
# $Revision: 1.35 $
# $Date: 2002-05-03 22:37:41 $
# $Revision: 1.36 $
# $Date: 2002-05-03 23:16:53 $
# $Author: kestes%walrus.com $
# $Source: /home/befator/cvs/jail/cvsroot/mozilla/webtools/tinderbox2/src/lib/TinderDB/VC_Bonsai.pm,v $
# $Name: not supported by cvs2svn $
@ -101,7 +101,7 @@ use TreeData;
use VCDisplay;
$VERSION = ( qw $Revision: 1.35 $ )[1];
$VERSION = ( qw $Revision: 1.36 $ )[1];
@ISA = qw(TinderDB::BasicTxtDB);
@ -414,9 +414,16 @@ sub status_table_row {
}
if (defined($DATABASE{$tree}{$next_time}{'treestate'})) {
$LAST_TREESTATE = $DATABASE{$tree}{$next_time}{'treestate'};
}
# Do we need a multiline empty cell or do we have data?
if ( $next_time < $row_times->[$row_index] ) {
if (
( $next_time < $row_times->[$row_index] ) ||
(!(defined($DATABASE{$tree}{$next_time}{'author'})))
) {
# now convert the break time to a rowspan.
@ -465,7 +472,7 @@ sub status_table_row {
$NEXT_DB++;
if ($DATABASE{$tree}{$time}{'treestate'}) {
if (defined($DATABASE{$tree}{$time}{'treestate'})) {
$LAST_TREESTATE = $DATABASE{$tree}{$time}{'treestate'};
}