mirror of
https://github.com/ZDoom/fluidsynth.git
synced 2025-04-22 07:30:50 +00:00
Use TRUE/FALSE for boolean flag
This commit is contained in:
parent
c7da1ef511
commit
e312f5bedd
1 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue