From fa4e7e0d53c92a520921dcee2127c8e2e64d3094 Mon Sep 17 00:00:00 2001 From: fennecdjay Date: Tue, 8 Oct 2019 12:04:53 +0200 Subject: [PATCH] :bomb: Fix add_ygen --- src/lib/ugen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ugen.c b/src/lib/ugen.c index dd21a84c..1fec7ae6 100644 --- a/src/lib/ugen.c +++ b/src/lib/ugen.c @@ -306,13 +306,13 @@ struct ugen_importer { }; ANN static m_int add_ugen(const Gwi gwi, struct ugen_importer* imp) { + CHECK_BB(gwi_item_ini(gwi, "UGen", imp->name)) VM* vm = gwi_vm(gwi); const M_Object o = new_M_UGen(gwi->gwion); const UGen u = imp->ugen = UGEN(o); ugen_ini(vm->gwion, u, imp->nchan, imp->nchan); ugen_gen(vm->gwion, u, imp->tick, (void*)imp->vm, 0); vector_add(&vm->ugen, (vtype)u); - CHECK_BB(gwi_item_ini(gwi, "UGen", imp->name)) return gwi_item_end(gwi, ae_flag_const, o); } -- 2.43.0