Skip to content
Snippets Groups Projects
Commit f3f5230b authored by Alexandre Julliard's avatar Alexandre Julliard
Browse files

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

parent f4b7222b
No related branches found
No related tags found
No related merge requests found
......@@ -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;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment