[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
No known key found for this signature in database
GPG key ID: B39240EE84BEAE8B

View file

@ -467,7 +467,7 @@ RegisterTypeLibraries(HINF hinf, LPCWSTR szSection)
p = PathAddBackslash(szPath); p = PathAddBackslash(szPath);
wcscpy(p, szName); wcscpy(p, szName);
hmod = LoadLibraryW(szName); hmod = LoadLibraryW(szPath);
if (hmod == NULL) if (hmod == NULL)
{ {
FatalError("LoadLibraryW failed\n"); FatalError("LoadLibraryW failed\n");