diff --git a/ChangeLog b/ChangeLog index 7a9a4d1d..a351bd1d 100644 --- a/ChangeLog +++ b/ChangeLog @@ -18508,3 +18508,5 @@ 2019-02-19 Fred Gleason * Fixed a bug in rdadmin(1) that threw a SQL error when deleting a host entry. +2019-02-21 Patrick Linstruth + * Fixed erase marker error in the 'Edit Audio' dialog. diff --git a/lib/rdedit_audio.cpp b/lib/rdedit_audio.cpp index bda8f9ab..58fbb2df 100644 --- a/lib/rdedit_audio.cpp +++ b/lib/rdedit_audio.cpp @@ -2686,7 +2686,7 @@ void RDEditAudio::EraseCursor(int xpos,int ypos,int xsize,int ysize,int chan, { int x; - if((edit_hscroll==NULL)||(prev<0)||((prev==0)&&(samp<0))) { + if((edit_hscroll==NULL)||(prev<0)) { return; } x=(int)((double)(samp-edit_hscroll->value())/edit_factor_x);