Work around a CW Pro4 bug. If the CW Find window is in front before you start, and you try to use an applevent to walk the list of open

This commit is contained in:
mcmullen%netscape.com 1998-11-13 22:01:01 +00:00
Родитель 87eff9d2bf
Коммит ec16d218b2
1 изменённых файлов: 4 добавлений и 1 удалений

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

@ -109,7 +109,10 @@ sub build_project ($;$$$) {
while (1) { while (1) {
$p = _get_project($full_path); $p = _get_project($full_path);
if (!$p) { if (!$p) {
return if ($project_was_closed); if ($project_was_closed) {
print "### Error - request for project document failed after opening\n";
die "### possibly CW Pro 4 bug: be sure to close your Find window\n";
}
$project_was_closed = 1; $project_was_closed = 1;
_open_file($full_path); _open_file($full_path);
} else { } else {