Fix a typo causing a compile error on Windows

This commit is contained in:
KitsuneAlex 2024-05-16 02:16:58 +02:00
parent 4ed56eb4ca
commit 886740cd81
No known key found for this signature in database
GPG Key ID: 6B0CE864BB69B7D0
1 changed files with 1 additions and 1 deletions

View File

@ -24,7 +24,7 @@ struct DynamicLibrary {
: handle(nullptr) {
for(const auto& name : names) {
#if defined(MSDFGEN_WINDOWS)
handle = LoadLibraryA(namee.c_str());
handle = LoadLibraryA(name.c_str());
#else
handle = dlopen(name.c_str(), RTLD_LAZY);
#endif