Module: wine Branch: master Commit: 186487663a9305831a3125cbd724f1b1519242e0 URL: http://source.winehq.org/git/wine.git/?a=commit;h=186487663a9305831a3125cbd7...
Author: James Hawkins truiken@gmail.com Date: Sat Jan 5 13:47:14 2008 -0700
msi: OriginalDatabase can be a URL so check for a forward slash too.
---
dlls/msi/action.c | 8 ++++++-- 1 files changed, 6 insertions(+), 2 deletions(-)
diff --git a/dlls/msi/action.c b/dlls/msi/action.c index a96d2b3..562178c 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;