mirror of https://github.com/odrling/Aegisub
Don't make an attempt to draw the play cursor if oldCurPos < 0 (usually means playback has stopped.). This fixes an assert on OS X and in general is probably a good thing.. I won't close the ticket until this has been tested on windows updates #1016.
Originally committed to SVN as r3993.
This commit is contained in:
parent
cfe1faa6ad
commit
3b08a0c51b
|
@ -1952,7 +1952,7 @@ void AudioDisplay::OnSize(wxSizeEvent &event) {
|
|||
///////////////
|
||||
// Timer event
|
||||
void AudioDisplay::OnUpdateTimer(wxTimerEvent &event) {
|
||||
if (!origImage)
|
||||
if (!origImage && oldCurPos > 0)
|
||||
return;
|
||||
|
||||
// Get lock and check if it's OK
|
||||
|
|
Loading…
Reference in New Issue