diff --git a/System/Path.cs b/System/Path.cs
index bda8f31a..b3ca3964 100644
--- a/System/Path.cs
+++ b/System/Path.cs
@@ -322,7 +322,7 @@ namespace Vanara.IO
/// Return if a file name pattern specified in matched the file name found in the
/// string pointed to by .
///
- public static bool MatchesLookupPattern(string path, string pattern, bool ignorePatternWhitespace = false) => PathMatchSpecEx(path, pattern, (ignorePatternWhitespace ? PMSF.PMSF_DONT_STRIP_SPACES : 0) | (pattern.IndexOf(';') < 0 ? PMSF.PMSF_NORMAL : PMSF.PMSF_MULTIPLE)).Succeeded;
+ public static bool MatchesLookupPattern(string path, string pattern, bool ignorePatternWhitespace = false) => PathMatchSpecEx(path, pattern, (ignorePatternWhitespace ? PMSF.PMSF_DONT_STRIP_SPACES : 0) | (pattern.IndexOf(';') < 0 ? PMSF.PMSF_NORMAL : PMSF.PMSF_MULTIPLE)) == HRESULT.S_OK;
/// Searches a path for spaces. If spaces are found, the entire path is enclosed in quotation marks.
/// A string that contains the path to search.