Corrected clipboard capability mask

This commit is contained in:
akallabeth 2020-10-02 13:17:00 +02:00
parent b62da2cbcc
commit e4243bb33c

View File

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