2021-04-06 Fred Gleason <fredg@paravelsystems.com>

* Fixed a bug in rdairplay(1) that caused the Talk Timer to
	fail to be populated when adding new carts to a log.

Signed-off-by: Fred Gleason <fredg@paravelsystems.com>
This commit is contained in:
Fred Gleason 2021-04-06 09:20:12 -04:00
parent 1db4f13476
commit 24c109ea28
2 changed files with 5 additions and 0 deletions

View File

@ -21399,3 +21399,6 @@
scripts into the build system. scripts into the build system.
2021-04-05 Fred Gleason <fredg@paravelsystems.com> 2021-04-05 Fred Gleason <fredg@paravelsystems.com>
* Fixed regressions that broke the 'make dist' target. * Fixed regressions that broke the 'make dist' target.
2021-04-06 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) that caused the Talk Timer to
fail to be populated when adding new carts to a log.

View File

@ -1908,6 +1908,8 @@ RDLogLine::State RDLogLine::setEvent(int mach,RDLogLine::TransType next_type,
log_segue_start_point[0]=-1; log_segue_start_point[0]=-1;
log_segue_end_point[0]=-1; log_segue_end_point[0]=-1;
} }
log_talk_start=q->value(6).toInt();
log_talk_end=q->value(7).toInt();
if(log_talk_start>=0) { if(log_talk_start>=0) {
log_talk_start=(int)((double)log_talk_start*time_ratio); log_talk_start=(int)((double)log_talk_start*time_ratio);
log_talk_end=(int)(q->value(7).toDouble()*time_ratio); log_talk_end=(int)(q->value(7).toDouble()*time_ratio);