1
0
mirror of https://github.com/cookiengineer/audacity synced 2025-06-22 23:30:07 +02:00

Make global variables static so they only have file scope when that is all they need. Part of a patch by Campbell Barton

This commit is contained in:
RichardAsh1981@gmail.com 2013-09-21 19:21:31 +00:00
parent 28e9f0ca73
commit b9a60462f5

View File

@ -59,7 +59,8 @@ IMPLEMENT_CLASS(ToolsToolBar, ToolBar);
// Strings to convert a tool number into a status message
// These MUST be in the same order as the ids above.
const wxChar * MessageOfTool[numTools] = { wxTRANSLATE("Click and drag to select audio"),
static const wxChar * MessageOfTool[numTools] = {
wxTRANSLATE("Click and drag to select audio"),
wxTRANSLATE("Click and drag to edit the amplitude envelope"),
wxTRANSLATE("Click and drag to edit the samples"),
#if defined( __WXMAC__ )