Corrected clipboard capability mask
@@ -574,9 +574,9 @@ static UINT cliprdr_client_capabilities(CliprdrClientContext* context,
if (!cliprdr->fileClipNoFilePaths)
flags &= ~CB_FILECLIP_NO_FILE_PATHS;
if (!cliprdr->canLockClipData)
- flags &= CB_CAN_LOCK_CLIPDATA;
+ flags &= ~CB_CAN_LOCK_CLIPDATA;
if (!cliprdr->hasHugeFileSupport)
- flags &= CB_HUGE_FILE_SUPPORT_ENABLED;
+ flags &= ~CB_HUGE_FILE_SUPPORT_ENABLED;
cliprdr->useLongFormatNames = flags & CB_USE_LONG_FORMAT_NAMES;
cliprdr->streamFileClipEnabled = flags & CB_STREAM_FILECLIP_ENABLED;
