|
From: <rel...@us...> - 2008-10-10 17:39:41
|
Revision: 226
http://modplug.svn.sourceforge.net/modplug/?rev=226&view=rev
Author: relabsoluness
Date: 2008-10-10 17:39:28 +0000 (Fri, 10 Oct 2008)
Log Message:
-----------
(Patch from Jojo)
/ Channel manager now shows channel numbers with named channels.
Modified Paths:
--------------
trunk/OpenMPT/mptrack/ChannelManagerDlg.cpp
Modified: trunk/OpenMPT/mptrack/ChannelManagerDlg.cpp
===================================================================
--- trunk/OpenMPT/mptrack/ChannelManagerDlg.cpp 2008-09-16 16:51:25 UTC (rev 225)
+++ trunk/OpenMPT/mptrack/ChannelManagerDlg.cpp 2008-10-10 17:39:28 UTC (rev 226)
@@ -776,7 +776,7 @@
ii = pattern[i];
if(m_pSndFile->ChnSettings[ii].szName[0] > 0x20)
- wsprintf(s, "%s", m_pSndFile->ChnSettings[ii].szName);
+ wsprintf(s, "%d: %s", (ii+1), m_pSndFile->ChnSettings[ii].szName);
else
wsprintf(s, "Channel %d", ii+1);
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|