Skip to content

Commit b0701a2

Browse files
committed
Fix a typo
Signed-off-by: falkTX <falktx@falktx.com>
1 parent 74c3a21 commit b0701a2

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

src/effects.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7206,7 +7206,7 @@ int effects_pre_run(int effect_id, int reset, int param_count, const flushed_par
72067206

72077207
effect_t *effect = &(g_effects[effect_id]);
72087208

7209-
if (effect->activated && ((effect->hints & HINT_IS_LIVE) == 0 || g_processing_enabled))
7209+
if (effect->activated && ((effect->hints & HINT_IS_LIVE) != 0 || g_processing_enabled))
72107210
{
72117211
fprintf(stderr, "pre-run attempted on activated plugin #%d\n", effect_id);
72127212
return ERR_INVALID_OPERATION;
@@ -7255,7 +7255,7 @@ int effects_pre_run_multi(int reset, int param_count, const flushed_param_t *par
72557255
{
72567256
effect = &(g_effects[effect_id]);
72577257

7258-
if (effect->activated && ((effect->hints & HINT_IS_LIVE) == 0 || g_processing_enabled))
7258+
if (effect->activated && ((effect->hints & HINT_IS_LIVE) != 0 || g_processing_enabled))
72597259
{
72607260
fprintf(stderr, "multi-pre-run attempted on activated plugin #%d\n", effect->instance);
72617261
continue;

0 commit comments

Comments
 (0)