mirror of
https://github.com/ElvishArtisan/rivendell.git
synced 2025-10-14 06:31:18 +02:00
2019-03-14 Fred Gleason <fredg@paravelsystems.com>
* Fixed a bug in rdairplay(1) that could throw a segfault when moving a log event to the end of a log.
This commit is contained in:
@@ -376,7 +376,7 @@ int RDLogEvent::size() const
|
||||
void RDLogEvent::insert(int line,int num_lines,bool preserve_trans)
|
||||
{
|
||||
if(!preserve_trans) {
|
||||
if(line>0) {
|
||||
if(log_line[line-1]!=NULL) {
|
||||
log_line[line-1]->setEndPoint(-1,RDLogLine::LogPointer);
|
||||
log_line[line-1]->setSegueStartPoint(-1,RDLogLine::LogPointer);
|
||||
log_line[line-1]->setSegueEndPoint(-1,RDLogLine::LogPointer);
|
||||
|
Reference in New Issue
Block a user