diff options
author | Casimir666 <casimir666@users.sourceforge.net> | 2008-08-31 19:35:54 +0400 |
---|---|---|
committer | Casimir666 <casimir666@users.sourceforge.net> | 2008-08-31 19:35:54 +0400 |
commit | 1bdfea8a14214aaaba94883ec7f96699f6c1c86a (patch) | |
tree | b33121762001be34a3da157a77ee24422095b5dd /src/apps/mplayerc/PPageAccelTbl.cpp | |
parent | 9cc748bd24b18fa7ceea779b67fdad9ddd99860e (diff) |
Fix : wrong shortcut association (broken in rev 731)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@772 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPageAccelTbl.cpp')
-rw-r--r-- | src/apps/mplayerc/PPageAccelTbl.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/apps/mplayerc/PPageAccelTbl.cpp b/src/apps/mplayerc/PPageAccelTbl.cpp index 7a3431b7b..50826220c 100644 --- a/src/apps/mplayerc/PPageAccelTbl.cpp +++ b/src/apps/mplayerc/PPageAccelTbl.cpp @@ -636,12 +636,10 @@ BOOL CPPageAccelTbl::OnInitDialog() m_list.InsertColumn(COL_RMCMD, _T("RemoteCmd"), LVCFMT_LEFT, 80);
m_list.InsertColumn(COL_RMREPCNT, _T("RepCnt"), LVCFMT_CENTER, 60);
-
- s.CreateCmdName();
POSITION pos = m_wmcmds.GetHeadPosition();
for(int i = 0; pos; i++)
{
- int row = m_list.InsertItem(m_list.GetItemCount(), /*m_wmcmds.GetAt(pos).name*/s.GetCmdName(i), COL_CMD);
+ int row = m_list.InsertItem(m_list.GetItemCount(), m_wmcmds.GetAt(pos).name, COL_CMD);
m_list.SetItemData(row, (DWORD_PTR)pos);
m_wmcmds.GetNext(pos);
}
|