From: <rel...@us...> - 2007-05-18 17:55:01
|
Revision: 186 http://svn.sourceforge.net/modplug/?rev=186&view=rev Author: relabsoluness Date: 2007-05-18 10:54:56 -0700 (Fri, 18 May 2007) Log Message: ----------- / <Relabs> Commented a few lines from CChannelManagerDlg::OnApply which caused buggy behavior when reordering channels while playing. I didn't understand what was the intended purpose of those lines so maybe something else got broken. Modified Paths: -------------- trunk/OpenMPT/mptrack/ChannelManagerDlg.cpp Modified: trunk/OpenMPT/mptrack/ChannelManagerDlg.cpp =================================================================== --- trunk/OpenMPT/mptrack/ChannelManagerDlg.cpp 2007-05-16 19:53:38 UTC (rev 185) +++ trunk/OpenMPT/mptrack/ChannelManagerDlg.cpp 2007-05-18 17:54:56 UTC (rev 186) @@ -218,7 +218,7 @@ } - // Redistribute channel setting & update manager internal store memory + // Update manager internal store memory for(i = 0 ; i < nChannels ; i++){ if(i != newpat[i]){ memory[0][i] = newMemory[0][newpat[i]]; @@ -228,13 +228,14 @@ memory[3][i] = i; } + /* if(pActiveMod == pModDoc){ i = m_pSndFile->GetCurrentPos(); m_pSndFile->m_dwSongFlags &= ~SONG_STEP; m_pSndFile->SetCurrentPos(0); m_pSndFile->SetCurrentPos(i); } - + */ END_CRITICAL(); EndWaitCursor(); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |