From 35c65cf731b3d5a615c7d619a915ea65745f22c3 Mon Sep 17 00:00:00 2001 From: Juan Lang Date: Thu, 10 Mar 2005 17:24:20 +0000 Subject: [PATCH] Fix a regression in AppSearch. --- dlls/msi/appsearch.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/dlls/msi/appsearch.c b/dlls/msi/appsearch.c index 60059b6429b..8918d7f4588 100644 --- a/dlls/msi/appsearch.c +++ b/dlls/msi/appsearch.c @@ -629,7 +629,7 @@ static BOOL ACTION_IsFullPath(LPCWSTR path) WCHAR first = toupperW(path[0]); BOOL ret; - if (first >= 'A' && first <= 'A' && path[1] == ':') + if (first >= 'A' && first <= 'Z' && path[1] == ':') ret = TRUE; else if (path[0] == '\\' && path[1] == '\\') ret = TRUE; @@ -644,6 +644,7 @@ static UINT ACTION_SearchDirectory(MSIPACKAGE *package, MSISIGNATURE *sig, UINT rc; BOOL found; + TRACE("%p, %p, %s, %d\n", package, sig, debugstr_w(expanded), depth); if (ACTION_IsFullPath(expanded)) { if (sig->File) @@ -681,6 +682,7 @@ static UINT ACTION_SearchDirectory(MSIPACKAGE *package, MSISIGNATURE *sig, } } } + TRACE("returning %d\n", rc); return rc; }