diff options
author | David Robillard <d@drobilla.net> | 2022-08-10 17:29:15 -0400 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2022-08-17 13:51:13 -0400 |
commit | 69b6f73b92156536ecb297dd2c58eb3c40e8fbe5 (patch) | |
tree | 5032d6d671c18145bdd9100c20ff4f1584cdee6c | |
parent | 728e9dacd7b604af3820850425e39202014ab2a2 (diff) | |
download | jalv-69b6f73b92156536ecb297dd2c58eb3c40e8fbe5.tar.gz jalv-69b6f73b92156536ecb297dd2c58eb3c40e8fbe5.tar.bz2 jalv-69b6f73b92156536ecb297dd2c58eb3c40e8fbe5.zip |
Only log custom UI URI when one is expected
Also deletes a rotten comment.
-rw-r--r-- | src/jalv.c | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -1164,14 +1164,12 @@ jalv_open(Jalv* const jalv, int* argc, char*** argv) lilv_node_free(host_type); } #endif - } - } - // Create ringbuffers for UI if necessary - if (jalv->ui) { - printf("UI: %s\n", lilv_node_as_uri(lilv_ui_get_uri(jalv->ui))); - } else { - printf("UI: None\n"); + if (jalv->ui) { + printf("UI: %s\n", + lilv_node_as_uri(lilv_ui_get_uri(jalv->ui))); + } + } } // Create port and control structures |