diff options
| author | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-03 17:26:08 -0400 |
|---|---|---|
| committer | isanae <14251494+isanae@users.noreply.github.com> | 2019-07-03 17:26:08 -0400 |
| commit | 41c9dd9b722b5792e4540a830f5ae55b130fa7f5 (patch) | |
| tree | 42ef286b0e4da65809d36623449b362b3d721a86 /src/main.cpp | |
| parent | efec72a85a351f53880bffdba2438f6802d4f9ab (diff) | |
preloadDll() would always think dlls were already loaded
Diffstat (limited to 'src/main.cpp')
| -rw-r--r-- | src/main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.cpp b/src/main.cpp index c6c87a64..b7176ee1 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -432,7 +432,7 @@ void preloadDll(const QString& filename) { qDebug().nospace() << "preloading " << filename; - if (!GetModuleHandleW(filename.toStdWString().c_str())) { + if (GetModuleHandleW(filename.toStdWString().c_str())) { // already loaded, this can happen when "restarting" MO by switching // instances, for example return; |
