widl: Don't create the CurVer key if the ProgId is already version-independent.

oldstable
Alexandre Julliard 2010-12-09 22:42:30 +01:00
parent f4b7222b98
commit f3f5230b92
1 changed files with 1 additions and 1 deletions

View File

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