From cd6a0b1891117044ab0fbf67a43352c18a72d80f Mon Sep 17 00:00:00 2001 From: kevin Date: Thu, 12 Dec 2013 12:21:03 -0500 Subject: [PATCH] cmDspBuiltIn.c : Fixed bug in _cmDspCheckboxAlloc() where the on/off symbols were not registered using the default labels. --- dsp/cmDspBuiltIn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsp/cmDspBuiltIn.c b/dsp/cmDspBuiltIn.c index 5ff8cc8..4842820 100644 --- a/dsp/cmDspBuiltIn.c +++ b/dsp/cmDspBuiltIn.c @@ -2209,8 +2209,8 @@ cmDspInst_t* _cmDspCheckboxAlloc(cmDspCtx_t* ctx, cmDspClass_t* classPtr, unsig cmDspSetDefaultStrcz( ctx, &p->inst, kLblCbId, NULL, cmSymTblLabel(ctx->stH,instSymId)); p->resetSymId = cmSymTblRegisterStaticSymbol(ctx->stH,"_reset"); - p->onSymId = cmSymTblRegisterSymbol(ctx->stH, cmDspStrcz(&p->inst,kSym1CbId)); - p->offSymId = cmSymTblRegisterSymbol(ctx->stH, cmDspStrcz(&p->inst,kSym0CbId)); + p->onSymId = cmSymTblRegisterSymbol(ctx->stH, cmDspDefaultStrcz(&p->inst,kSym1CbId)); + p->offSymId = cmSymTblRegisterSymbol(ctx->stH, cmDspDefaultStrcz(&p->inst,kSym0CbId)); // create the UI control cmDspUiButtonCreate(ctx,&p->inst,kCheckDuiId,kOutCbId,kLblCbId);