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:
authorkinddragon <kinddragon@users.sourceforge.net>2010-05-16 23:28:57 +0400
committerkinddragon <kinddragon@users.sourceforge.net>2010-05-16 23:28:57 +0400
commite9e09d64fbc9c884e7e00f22bfa9de18b8748bb9 (patch)
tree1a147ec652bb6baef603d72fc6bb9129c416b38b /src/apps/mplayerc/PPageFullscreen.cpp
parent3a990e7f323a3f68c286ad8b3395c681368ff46b (diff)
Some warnings fixed (uninitialized local variable, unused local variable, comparison signed/unsigned type, assignment in if)
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@1886 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PPageFullscreen.cpp')
-rw-r--r--src/apps/mplayerc/PPageFullscreen.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/apps/mplayerc/PPageFullscreen.cpp b/src/apps/mplayerc/PPageFullscreen.cpp
index 1389506cc..b7321bc28 100644
--- a/src/apps/mplayerc/PPageFullscreen.cpp
+++ b/src/apps/mplayerc/PPageFullscreen.cpp
@@ -166,7 +166,8 @@ BOOL CPPageFullscreen::OnApply()
int iSel_23 = m_dispmode23d976combo.GetCurSel();
int iSel_29 = m_dispmode29d97combo.GetCurSel();
- if (m_AutoChangeFullscrRes.bEnabled = !!m_fSetFullscreenRes)
+ m_AutoChangeFullscrRes.bEnabled = !!m_fSetFullscreenRes;
+ if (m_AutoChangeFullscrRes.bEnabled)
{
if(iSel_24 >= 0 && iSel_24 < m_dms.GetCount())
m_AutoChangeFullscrRes.dmFullscreenRes24Hz = m_dms[m_dispmode24combo.GetCurSel()];