[SYSSETUP] Use the calculated full path

This commit is contained in:
Mark Jansen
2021-06-05 22:14:34 +02:00
parent 864e20b881
commit 1d68fe209f

View File

@@ -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");