From 4113965d91593a634b28bf73b6ae390c7245092f Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 13 Oct 2002 17:38:11 +0000 Subject: [PATCH] use get/set to check bounds --- stepmania/src/ScreenEdit.cpp | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/stepmania/src/ScreenEdit.cpp b/stepmania/src/ScreenEdit.cpp index d6d85cdc55..36e04ce446 100644 --- a/stepmania/src/ScreenEdit.cpp +++ b/stepmania/src/ScreenEdit.cpp @@ -684,6 +684,7 @@ void ScreenEdit::InputEdit( const DeviceInput& DeviceI, const InputEventType typ if( iCol >= m_NoteFieldEdit.m_iNumTracks ) // this button is not in the range of columns for this StyleDef break; + /* XXX: easier to do with 4s */ // check for to see if the user intended to remove a HoldNote bool bRemovedAHoldNote = false; for( int i=0; i