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:
terry%mozilla.org
1999-07-24 05:04:37 +00:00
parent a9bf7e8279
commit 2290129d4c

View File

@@ -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);