Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/mpc-hc/PlayerNavigationDialog.cpp')
-rw-r--r--src/mpc-hc/PlayerNavigationDialog.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/mpc-hc/PlayerNavigationDialog.cpp b/src/mpc-hc/PlayerNavigationDialog.cpp
index 86e9c35d3..70660d588 100644
--- a/src/mpc-hc/PlayerNavigationDialog.cpp
+++ b/src/mpc-hc/PlayerNavigationDialog.cpp
@@ -1,5 +1,5 @@
/*
- * (C) 2010-2015 see Authors.txt
+ * (C) 2010-2016 see Authors.txt
*
* This file is part of MPC-HC.
*
@@ -123,7 +123,7 @@ void CPlayerNavigationDialog::UpdateElementList()
m_channelList.ResetContent();
for (const auto& channel : s.m_DVBChannels) {
- if (channel.GetAudioCount() && (m_bTVStations && channel.GetVideoPID() || !m_bTVStations && !channel.GetVideoPID())) {
+ if (m_bTVStations && channel.GetVideoPID() || !m_bTVStations && !channel.GetVideoPID()) {
int nItem = m_channelList.AddString(channel.GetName());
if (nItem != LB_ERR) {
m_channelList.SetItemData(nItem, (DWORD_PTR)channel.GetPrefNumber());
@@ -236,7 +236,7 @@ void CPlayerNavigationDialog::OnContextMenu(CWnd* pWnd, CPoint point)
it1->SetPrefNumber(nPrefNumber2);
it2->SetPrefNumber(nPrefNumber1);
// Actually swap the channels
- iter_swap(it1, it2);
+ std::iter_swap(it1, it2);
};
if (!bOutside) {