From 7c29d8e704dde58dbd5ed1d0fd3ac1cb60609140 Mon Sep 17 00:00:00 2001 From: Andrew Nelless Date: Tue, 31 Jan 2017 11:17:54 +0000 Subject: [PATCH] #6344 Fix logic error displaying clipboard sharing status --- src/lib/client/Client.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/client/Client.cpp b/src/lib/client/Client.cpp index c917606f..b11ef020 100644 --- a/src/lib/client/Client.cpp +++ b/src/lib/client/Client.cpp @@ -363,7 +363,7 @@ Client::setOptions(const OptionsList& options) if (id == kOptionClipboardSharing) { index++; if (index != options.end()) { - if (*index) { + if (!*index) { LOG((CLOG_NOTE "clipboard sharing is disabled")); } m_enableClipboard = *index;