summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBrian Munro <brian.alexander.munro@gmail.com>2016-12-21 11:46:10 +0200
committerGitHub <noreply@github.com>2016-12-21 11:46:10 +0200
commit71f9c4f69dc75e1a7cf90098b68130f15cb039e7 (patch)
tree84a55a7f655814e3585e713aac8feb20a0d0f857 /src
parent71b4911c8ce56e01aa7aac7f16beabf3980a6918 (diff)
Update organizercore.cpp
Shoud be an "or" query instead of "and",
Diffstat (limited to 'src')
-rw-r--r--src/organizercore.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/organizercore.cpp b/src/organizercore.cpp
index 142c9eba..2eb071c1 100644
--- a/src/organizercore.cpp
+++ b/src/organizercore.cpp
@@ -1243,7 +1243,7 @@ bool OrganizerCore::waitForProcessCompletion(HANDLE handle, LPDWORD exitCode)
while (
res = ::MsgWaitForMultipleObjects(1, &handle, false, 500,
QS_KEY | QS_MOUSE),
- ((res != WAIT_FAILED) && (res != WAIT_OBJECT_0)) &&
+ ((res != WAIT_FAILED) || (res != WAIT_OBJECT_0)) &&
((m_UserInterface == nullptr) || !m_UserInterface->unlockClicked())) {
if (!::GetVFSProcessList(&numProcesses, processes)) {