aboutsummaryrefslogtreecommitdiffstats
path: root/src/jalv_console.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/jalv_console.c')
-rw-r--r--src/jalv_console.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/jalv_console.c b/src/jalv_console.c
index 277f290..0c8dd06 100644
--- a/src/jalv_console.c
+++ b/src/jalv_console.c
@@ -13,7 +13,7 @@
#include "lilv/lilv.h"
#include "lv2/ui/ui.h"
-#include "zix/common.h"
+#include "zix/attributes.h"
#include "zix/sem.h"
#if USE_SUIL
@@ -273,7 +273,7 @@ jalv_run_custom_ui(Jalv* jalv)
show_iface->show(suil_instance_get_handle(jalv->ui_instance));
// Drive idle interface until interrupted
- while (!zix_sem_try_wait(&jalv->done)) {
+ while (zix_sem_try_wait(&jalv->done)) {
jalv_update(jalv);
if (idle_iface->idle(suil_instance_get_handle(jalv->ui_instance))) {
break;
@@ -320,7 +320,7 @@ jalv_frontend_open(Jalv* jalv)
{
if (!jalv_run_custom_ui(jalv) && !jalv->opts.non_interactive) {
// Primitive command prompt for setting control values
- while (!zix_sem_try_wait(&jalv->done)) {
+ while (zix_sem_try_wait(&jalv->done)) {
char line[1024];
printf("> ");
if (fgets(line, sizeof(line), stdin)) {