diff --git a/app/cmScore.c b/app/cmScore.c index c0429dd..4c67749 100644 --- a/app/cmScore.c +++ b/app/cmScore.c @@ -800,14 +800,18 @@ cmScRC_t _cmScProcSets( cmSc_t* p ) { if( cmSymTblIsValid(p->stH) ) { + + // THIS PRINTF PREVENTS CRASH ON OSX ??????? printf("PROCSET:%i %s\n",p->sets[i].varId,ep->label); + + p->sets[i].symArray[j] = cmSymTblRegisterFmt(p->stH,"%c-%s", _cmScVarIdToChar(p->sets[i].varId),ep->label); p->sets[i].costSymArray[j] = cmSymTblRegisterFmt(p->stH,"c%c-%s",_cmScVarIdToChar(p->sets[i].varId),ep->label); } else { p->sets[i].symArray[j] = cmInvalidId; - p->sets[i].symArray[j] = cmInvalidId; + p->sets[i].costSymArray[j] = cmInvalidId; } p->sets[i].sectArray[j] = sp;