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
1 changed files with 1 additions and 0 deletions

View File

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