Fixed stupid typos that caused it to not correctly report whether a
tree is open. git-svn-id: svn://10.0.0.236/trunk@40970 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -466,9 +466,9 @@ sub tree_open {
|
||||
open(BATCH, "<../bonsai/data/$bonsai_tree/batch-${bid}.pl")
|
||||
or print "can't open batch-${bid}.pl<br>";
|
||||
while ($line = <BATCH>){
|
||||
if ($line =~ /^$::TreeOpen = '(\d+)';/) {
|
||||
if ($line =~ /^\$::TreeOpen = '(\d+)';/) {
|
||||
$treestate = $1;
|
||||
break;
|
||||
last;
|
||||
}
|
||||
}
|
||||
close(BATCH);
|
||||
|
||||
Reference in New Issue
Block a user