#6346 Fix disable lock to screen was always set to true

This commit is contained in:
XinyuHou
2016-11-24 13:33:31 +00:00
committed by Nick Bolton
parent 84dfeec2ed
commit 6ccd4d71b8

View File

@@ -1183,7 +1183,7 @@ Server::processOptions()
newRelativeMoves = (value != 0);
}
else if (id == kOptionDisableLockToScreen) {
m_disableLockToScreen = true;
m_disableLockToScreen = (value != 0);
}
else if (id == kOptionClipboardSharing) {
m_enableClipboard = (value != 0);