Use TRUE/FALSE for boolean flag

This commit is contained in:
Marcus Weseloh 2017-11-20 19:56:42 +01:00
parent c7da1ef511
commit e312f5bedd

View file

@ -1004,7 +1004,7 @@ static void activate_effect(fluid_ladspa_effect_t *effect)
{
if (!effect->active)
{
effect->active = 1;
effect->active = TRUE;
if (effect->desc->activate != NULL)
{
effect->desc->activate(effect->handle);
@ -1016,7 +1016,7 @@ static void deactivate_effect(fluid_ladspa_effect_t *effect)
{
if (effect->active)
{
effect->active = 0;
effect->active = FALSE;
if (effect->desc->deactivate != NULL)
{
effect->desc->deactivate(effect->handle);