Fixing progid translation for registrations that dont have a progid.

git-svn-id: svn://10.0.0.236/trunk@76866 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
dp%netscape.com 2000-08-22 06:03:56 +00:00
parent 88d94c12d2
commit fad92fa46d

View File

@ -76,7 +76,8 @@ while (<>)
{
# this is from the output of registry. Try to update progid_map
$cid = GetCID();
$_ = <STDIN>;
# Get the next progid or classname line until a empty new line
$_ = <STDIN> until (/ProgID|ClassName/ || length == 1);
chomp;
$progid = $_;
$progid =~ s/^.*= //;