summaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorisanae <14251494+isanae@users.noreply.github.com>2019-07-03 17:30:09 -0400
committerGitHub <noreply@github.com>2019-07-03 17:30:09 -0400
commit431b35dcf8f6abf89470a29a4b634f1b5864be28 (patch)
treeabbd6051134ad6c22a01bfc5164df899ed3f41e6 /src/main.cpp
parent7926205ff201da92b77a3133b77d7f7a18e4ab6a (diff)
parent41c9dd9b722b5792e4540a830f5ae55b130fa7f5 (diff)
Merge pull request #787 from isanae/fix-preloading
fix openssl preloading
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
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;