Initialize a variable in the audio display that sometimes was used without any initial value being assigned to it.

Originally committed to SVN as r2969.
This commit is contained in:
harukalover 2009-05-22 02:27:36 +00:00
parent ef4021f757
commit 17f0e664f0

View file

@ -108,6 +108,7 @@ AudioDisplay::AudioDisplay(wxWindow *parent)
hasFocus = (wxWindow::FindFocus() == this);
needImageUpdate = false;
needImageUpdateWeak = true;
playingToEnd = false;
// Init
UpdateTimer.SetOwner(this,Audio_Update_Timer);