From b3ebd5a8c532a9ac8fd7efde7b991dcb7696f31a Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Fri, 3 Dec 2010 14:07:16 +0100 Subject: [PATCH] widl: Use the class name as default description for a progid. --- tools/widl/register.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/widl/register.c b/tools/widl/register.c index 20554b15392..dcb64dbceba 100644 --- a/tools/widl/register.c +++ b/tools/widl/register.c @@ -142,7 +142,7 @@ static int write_progid( const type_t *class ) const char *vi_progid = get_attrp( class->attrs, ATTR_VIPROGID ); if (!uuid) return 0; - if (!descr) descr = vi_progid ? vi_progid : progid; + if (!descr) descr = class->name; if (progid) {