mirror of
https://github.com/cookiengineer/audacity
synced 2025-11-28 08:10:11 +01:00
Two Initialisations (Valgrind)
This commit is contained in:
committed by
James Crook
parent
a3d20c846a
commit
d1b49952e9
@@ -355,6 +355,7 @@ ToolDock::ToolDock( ToolManager *manager, wxWindow *parent, int dockid ):
|
||||
|
||||
// Init
|
||||
mManager = manager;
|
||||
memset(mBars, 0, sizeof(mBars)); // otherwise uninitialized
|
||||
|
||||
// Use for testing gaps
|
||||
// SetOwnBackgroundColour( wxColour( 255, 0, 0 ) );
|
||||
|
||||
@@ -1959,6 +1959,7 @@ AdornedRulerPanel::AdornedRulerPanel(AudacityProject* project,
|
||||
mCursorDefault = wxCursor(wxCURSOR_DEFAULT);
|
||||
mCursorHand = wxCursor(wxCURSOR_HAND);
|
||||
mCursorSizeWE = wxCursor(wxCURSOR_SIZEWE);
|
||||
mIsWE = false;
|
||||
|
||||
mLeftOffset = 0;
|
||||
mIndTime = -1;
|
||||
|
||||
Reference in New Issue
Block a user