https://git.reactos.org/?p=reactos.git;a=commitdiff;h=1d68fe209f50e6232bee28cdf385f0541abdd7bc

commit 1d68fe209f50e6232bee28cdf385f0541abdd7bc
Author:     Mark Jansen <[email protected]>
AuthorDate: Sat Jun 5 22:14:34 2021 +0200
Commit:     Mark Jansen <[email protected]>
CommitDate: Sat Jun 5 22:14:34 2021 +0200

    [SYSSETUP] Use the calculated full path
---
 dll/win32/syssetup/install.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dll/win32/syssetup/install.c b/dll/win32/syssetup/install.c
index ba8fd226b64..5feefa3611b 100644
--- a/dll/win32/syssetup/install.c
+++ b/dll/win32/syssetup/install.c
@@ -467,7 +467,7 @@ RegisterTypeLibraries(HINF hinf, LPCWSTR szSection)
         p = PathAddBackslash(szPath);
         wcscpy(p, szName);
 
-        hmod = LoadLibraryW(szName);
+        hmod = LoadLibraryW(szPath);
         if (hmod == NULL)
         {
             FatalError("LoadLibraryW failed\n");

Reply via email to