diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-23 22:33:10 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2012-05-23 22:33:10 +0400 |
commit | d23c63fe08bb35d4a7cb20d8839b38ff0117e886 (patch) | |
tree | b40d13dd58c3a25ea935b14067c33b9e94e69e16 /src/DSUtil/DSUtil.cpp | |
parent | ea72ba4adc0770b0c963874a65a4736eaaf8e791 (diff) |
remove unused variable from PPageMisc.cpp, minor astyle changes
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@4861 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/DSUtil/DSUtil.cpp')
-rw-r--r-- | src/DSUtil/DSUtil.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/DSUtil/DSUtil.cpp b/src/DSUtil/DSUtil.cpp index 7a7975cc6..cb8c5d9d5 100644 --- a/src/DSUtil/DSUtil.cpp +++ b/src/DSUtil/DSUtil.cpp @@ -78,8 +78,8 @@ void DumpStreamConfig(TCHAR* fn, IAMStreamConfig* pAMVSCCap) s.AppendFormat(_T("\tStretchTaps %d, %d\n"), caps.StretchTapsX, caps.StretchTapsY);
s.AppendFormat(_T("\tShrinkTaps %d, %d\n"), caps.ShrinkTapsX, caps.ShrinkTapsY);
s.AppendFormat(_T("\tFrameInterval %I64d, %I64d (%.4f, %.4f)\n"),
- caps.MinFrameInterval, caps.MaxFrameInterval,
- (float)10000000/caps.MinFrameInterval, (float)10000000/caps.MaxFrameInterval);
+ caps.MinFrameInterval, caps.MaxFrameInterval,
+ (float)10000000/caps.MinFrameInterval, (float)10000000/caps.MaxFrameInterval);
s.AppendFormat(_T("\tBitsPerSecond %d - %d\n"), caps.MinBitsPerSecond, caps.MaxBitsPerSecond);
f.WriteString(s);
}
@@ -2903,7 +2903,7 @@ void CorrectComboListWidth(CComboBox& m_pComboBox) // Get the scrollbar width if it exists
int min_visible = m_pComboBox.GetMinVisible();
int scroll_width = (m_pComboBox.GetCount() > min_visible) ?
- ::GetSystemMetrics(SM_CXVSCROLL) : 0;
+ ::GetSystemMetrics(SM_CXVSCROLL) : 0;
// Adjust the width for the vertical scroll bar and the left and right border.
dx += scroll_width + 2*::GetSystemMetrics(SM_CXEDGE);
|