From e02ac19e6df24694062264eb9d8446c916c9d256 Mon Sep 17 00:00:00 2001 From: Tobias Doerffel Date: Mon, 6 Aug 2007 13:28:28 +0000 Subject: [PATCH] cleanups git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@517 0778d3d1-df1d-0410-868b-ea421aaaa00d --- include/note_play_handle.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/include/note_play_handle.h b/include/note_play_handle.h index fa6e2d175..ed4f31d71 100644 --- a/include/note_play_handle.h +++ b/include/note_play_handle.h @@ -67,8 +67,7 @@ public: virtual inline bool done( void ) const { - return( m_released && framesLeft() == 0 );/* ( m_released && m_framesBeforeRelease == 0 && - m_releaseFramesDone >= m_releaseFramesToDo ) );*/ + return( m_released && framesLeft() <= 0 ); } bool willFinishThisPeriod( void ) const