#6344 Fix logic error displaying clipboard sharing status

This commit is contained in:
Andrew Nelless
2017-01-31 11:17:54 +00:00
committed by Nick Bolton
parent 3cb7a5c101
commit 7c29d8e704

View File

@@ -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;