diff options
Diffstat (limited to 'src/state.c')
-rw-r--r-- | src/state.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/state.c b/src/state.c index 8c60776..a75ef3b 100644 --- a/src/state.c +++ b/src/state.c @@ -148,7 +148,7 @@ set_port_value(const char* port_symbol, jalv_ui_write(jalv, port->index, sizeof(fvalue), 0, &fvalue); // Update UI - if (jalv->ui) { + if (jalv->has_ui) { char buf[sizeof(ControlChange) + sizeof(fvalue)]; ControlChange* ev = (ControlChange*)buf; ev->index = port->index; |