The big NULL replacement party part 1.
This is meant to be a safer alternative since NULL can often be 0. Let's not rely on that. And yes, I know this is a lot of files. This is a safer thing to do in big commits vs for loops.
This commit is contained in:
+1
-1
@@ -351,7 +351,7 @@ bool NoteData::IsHoldHeadOrBodyAtRow( int iTrack, int iRow, int *pHeadRow ) cons
|
||||
const TapNote &tn = GetTapNote( iTrack, iRow );
|
||||
if( tn.type == TapNote::hold_head )
|
||||
{
|
||||
if( pHeadRow != NULL )
|
||||
if( pHeadRow != nullptr )
|
||||
*pHeadRow = iRow;
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user