Fixed stupid typos that caused it to not correctly report whether a

tree is open.
This commit is contained in:
terry%mozilla.org 1999-07-24 05:04:37 +00:00
Родитель bf635c1ce4
Коммит 8447b2530b
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

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