diff --git a/ChangeLog b/ChangeLog index 3498a28d..30d23b57 100644 --- a/ChangeLog +++ b/ChangeLog @@ -23540,3 +23540,6 @@ all services, with a 'Has Grid' column. 2022-10-20 Fred Gleason * Documented grid processing bypass in the Operations Guide. +2022-10-20 Fred Gleason + * Fixed a bug in rdlogmanager(1) that caused the Chain-To event + to be dropped when linking music events in bypass grid mode. diff --git a/lib/rdsvc.cpp b/lib/rdsvc.cpp index db428a67..9e549e16 100644 --- a/lib/rdsvc.cpp +++ b/lib/rdsvc.cpp @@ -2252,9 +2252,10 @@ void RDSvc::ProcessBypassMusicEvents(RDLog *log,RDLogModel *dst_model, delete q; } - if((logline!=NULL)&&(logline->type()==RDLogLine::Chain)) { + if((link_logline!=NULL)&&(link_logline->type()==RDLogLine::Chain)) { + printf("Chain to!\n"); dst_model->insert(dst_model->lineCount(),1,true); - *(dst_model->logLine(dst_model->lineCount()-1))=*logline; + *(dst_model->logLine(dst_model->lineCount()-1))=*link_logline; dst_model->logLine(dst_model->lineCount()-1)-> setId(dst_model->nextId()); }