mirror of
https://github.com/cookiengineer/audacity
synced 2026-02-08 04:32:00 +01:00
In off-list discussion, Steve mentioned that kdevelop / kate highlighting recognizes "FIXME", but not "FIX-ME", which has been the Audacity convention. This commit changes Audacity code to use the "FIXME" convention (though I've never known it as convention and MSVC doesn't recognize it).
Also, minor change in WaveTrack.cpp in the effort on bug 641. Should have no functional difference.
This commit is contained in:
@@ -689,7 +689,7 @@ void Ruler::Tick(int pos, double d, bool major, bool minor)
|
||||
wxCoord strW, strH, strD, strL;
|
||||
int strPos, strLen, strLeft, strTop;
|
||||
|
||||
// FIX-ME: We don't draw a tick if of end of our label arrays
|
||||
// FIXME: We don't draw a tick if of end of our label arrays
|
||||
// But we shouldn't have an array of labels.
|
||||
if( mNumMinorMinor >= mLength )
|
||||
return;
|
||||
@@ -749,7 +749,7 @@ void Ruler::Tick(int pos, double d, bool major, bool minor)
|
||||
}
|
||||
|
||||
|
||||
// FIX-ME: we shouldn't even get here if strPos < 0.
|
||||
// FIXME: we shouldn't even get here if strPos < 0.
|
||||
// Ruler code currently does not handle very small or
|
||||
// negative sized windows (i.e. don't draw) properly.
|
||||
if( strPos < 0 )
|
||||
@@ -801,7 +801,7 @@ void Ruler::TickCustom(int labelIdx, bool major, bool minor)
|
||||
wxCoord strW, strH, strD, strL;
|
||||
int strPos, strLen, strLeft, strTop;
|
||||
|
||||
// FIX-ME: We don't draw a tick if of end of our label arrays
|
||||
// FIXME: We don't draw a tick if of end of our label arrays
|
||||
// But we shouldn't have an array of labels.
|
||||
if( mNumMinor >= mLength )
|
||||
return;
|
||||
@@ -863,7 +863,7 @@ void Ruler::TickCustom(int labelIdx, bool major, bool minor)
|
||||
}
|
||||
|
||||
|
||||
// FIX-ME: we shouldn't even get here if strPos < 0.
|
||||
// FIXME: we shouldn't even get here if strPos < 0.
|
||||
// Ruler code currently does not handle very small or
|
||||
// negative sized windows (i.e. don't draw) properly.
|
||||
if( strPos < 0 )
|
||||
@@ -978,7 +978,7 @@ void Ruler::Update(TimeTrack* timetrack)// Envelope *speedEnv, long minSpeed, lo
|
||||
mRect = wxRect(0,0, 0,mLength);
|
||||
}
|
||||
|
||||
// FIX-ME: Surely we do not need to allocate storage for the labels?
|
||||
// FIXME: Surely we do not need to allocate storage for the labels?
|
||||
// We can just recompute them as we need them? Yes, but only if
|
||||
// mCustom is false!!!!
|
||||
|
||||
|
||||
Reference in New Issue
Block a user