Commit 18648766 authored by James Hawkins's avatar James Hawkins Committed by Alexandre Julliard

msi: OriginalDatabase can be a URL so check for a forward slash too.

parent 062070bf
......@@ -623,8 +623,12 @@ static UINT msi_set_sourcedir_props(MSIPACKAGE *package, BOOL replace)
p = strrchrW( db, '\\' );
if (!p)
{
msi_free(db);
return ERROR_SUCCESS;
p = strrchrW( db, '/' );
if (!p)
{
msi_free(db);
return ERROR_SUCCESS;
}
}
len = p - db + 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment