widl: Don't force removal of progids since "CLSID" is also a progid.

This commit is contained in:
Alexandre Julliard 2010-12-03 18:09:06 +01:00
parent 24d2f694cb
commit 2bf6305ad6
1 changed files with 2 additions and 2 deletions

View File

@ -146,14 +146,14 @@ static int write_progid( const type_t *class )
if (progid) if (progid)
{ {
put_str( indent, "ForceRemove '%s' = s '%s'\n", progid, descr ); put_str( indent, "'%s' = s '%s'\n", progid, descr );
put_str( indent++, "{\n" ); put_str( indent++, "{\n" );
put_str( indent, "CLSID = s '%s'\n", format_uuid( uuid ) ); put_str( indent, "CLSID = s '%s'\n", format_uuid( uuid ) );
put_str( --indent, "}\n" ); put_str( --indent, "}\n" );
} }
if (vi_progid) if (vi_progid)
{ {
put_str( indent, "ForceRemove '%s' = s '%s'\n", vi_progid, descr ); put_str( indent, "'%s' = s '%s'\n", vi_progid, descr );
put_str( indent++, "{\n" ); put_str( indent++, "{\n" );
put_str( indent, "CLSID = s '%s'\n", format_uuid( uuid ) ); put_str( indent, "CLSID = s '%s'\n", format_uuid( uuid ) );
if (progid) put_str( indent, "CurVer = s '%s'\n", progid ); if (progid) put_str( indent, "CurVer = s '%s'\n", progid );