From 186487663a9305831a3125cbd724f1b1519242e0 Mon Sep 17 00:00:00 2001 From: James Hawkins Date: Sat, 5 Jan 2008 13:47:14 -0700 Subject: [PATCH] msi: OriginalDatabase can be a URL so check for a forward slash too. --- dlls/msi/action.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/dlls/msi/action.c b/dlls/msi/action.c index a96d2b39a26..562178cb409 100644 --- a/dlls/msi/action.c +++ b/dlls/msi/action.c @@ -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; -- 2.11.4.GIT