msi: Skip the leading period of the extension to be registered.

This commit is contained in:
James Hawkins 2008-10-27 01:52:49 -05:00 committed by Alexandre Julliard
parent 2ffa433f80
commit c261030d21

View file

@ -461,6 +461,9 @@ static MSIEXTENSION *load_given_extension( MSIPACKAGE *package, LPCWSTR name )
if (!name)
return NULL;
if (name[0] == '.')
name++;
/* check for extensions already loaded */
LIST_FOR_EACH_ENTRY( ext, &package->extensions, MSIEXTENSION, entry )
{