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

Alexandre Julliard julliard at winehq.org
Mon Oct 27 08:03:41 CDT 2008


Module: wine
Branch: master
Commit: c261030d21eb7b9c3ae0e6e188321a0cfcffd0ff
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c261030d21eb7b9c3ae0e6e188321a0cfcffd0ff

Author: James Hawkins <jhawkins at codeweavers.com>
Date:   Mon Oct 27 01:52:49 2008 -0500

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

---

 dlls/msi/classes.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/dlls/msi/classes.c b/dlls/msi/classes.c
index 45254ef..cf889c1 100644
--- a/dlls/msi/classes.c
+++ b/dlls/msi/classes.c
@@ -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 )
     {




More information about the wine-cvs mailing list