Alexandre Julliard : widl: Don' t create the CurVer key if the ProgId is already version-independent.
Alexandre Julliard
julliard at winehq.org
Fri Dec 10 11:56:58 CST 2010
Module: wine
Branch: master
Commit: f3f5230b927968b0b3fce1d2d84c6721951a5dd3
URL: http://source.winehq.org/git/wine.git/?a=commit;h=f3f5230b927968b0b3fce1d2d84c6721951a5dd3
Author: Alexandre Julliard <julliard at winehq.org>
Date: Thu Dec 9 22:42:30 2010 +0100
widl: Don't create the CurVer key if the ProgId is already version-independent.
---
tools/widl/register.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/widl/register.c b/tools/widl/register.c
index 736ec2c..f709214 100644
--- a/tools/widl/register.c
+++ b/tools/widl/register.c
@@ -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;
More information about the wine-cvs
mailing list