UI: Fix warning when compiling with Clang 10

Building with Clang 10 on FreeBSD 13-CURRENT emitted a warning about
logical not (!) applying only to the left hand side of a comparison.
Update the expression to match the style of other flags conditionals.
Verified that object code is the same.
master
Ed Maste 2020-04-08 12:38:42 -04:00 committed by Richard Stanway
parent 2a318d915f
commit 9f4aaf22f0
1 changed files with 1 additions and 1 deletions

View File

@ -7264,7 +7264,7 @@ void OBSBasic::on_actionCopySource_triggered()
copyVisible = obs_sceneitem_visible(item);
uint32_t output_flags = obs_source_get_output_flags(source);
if (!(output_flags & OBS_SOURCE_DO_NOT_DUPLICATE) == 0)
if (output_flags & OBS_SOURCE_DO_NOT_DUPLICATE)
allowPastingDuplicate = false;
}