widl: Don't create the CurVer key if the ProgId is already version-independent.
This commit is contained in:
parent
f4b7222b98
commit
f3f5230b92
|
@ -166,7 +166,7 @@ static int write_progid( const type_t *class )
|
|||
put_str( indent, "'%s' = s '%s'\n", vi_progid, descr );
|
||||
put_str( indent++, "{\n" );
|
||||
put_str( indent, "CLSID = s '%s'\n", format_uuid( uuid ) );
|
||||
if (progid) put_str( indent, "CurVer = s '%s'\n", progid );
|
||||
if (progid && strcmp( progid, vi_progid )) put_str( indent, "CurVer = s '%s'\n", progid );
|
||||
put_str( --indent, "}\n" );
|
||||
}
|
||||
return 1;
|
||||
|
|
Loading…
Reference in New Issue