Fix off-by-one bug

git-svn-id: https://lmms.svn.sf.net/svnroot/lmms/trunk/lmms@939 0778d3d1-df1d-0410-868b-ea421aaaa00d
This commit is contained in:
Paul Giblock
2008-04-25 07:48:45 +00:00
parent fa3105da6a
commit 79eeead855

View File

@@ -255,7 +255,7 @@ void fxMixerView::setCurrentFxLine( int _line )
{
setCurrentFxLine( m_fxChannelViews[_line].m_fxLine );
m_bankButtons->button( _line / 16 )->click();
m_bankButtons->button( (_line-1) / 16 )->click();
}
}