aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv.c')
-rw-r--r--src/jalv.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jalv.c b/src/jalv.c
index 1477040..e697785 100644
--- a/src/jalv.c
+++ b/src/jalv.c
@@ -630,13 +630,13 @@ jalv_run(Jalv* jalv, uint32_t nframes)
return send_ui_updates;
}
-bool
+int
jalv_update(Jalv* jalv)
{
/* Check quit flag and close if set. */
if (zix_sem_try_wait(&jalv->done)) {
jalv_close_ui(jalv);
- return false;
+ return 0;
}
/* Emit UI events. */
@@ -674,7 +674,7 @@ jalv_update(Jalv* jalv)
}
}
- return true;
+ return 1;
}
static bool