diff options
author | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-08-18 16:49:11 +0400 |
---|---|---|
committer | XhmikosR <xhmikosr@users.sourceforge.net> | 2010-08-18 16:49:11 +0400 |
commit | 7ac19e38adc30e7a9827876bcceb7ffbe294889d (patch) | |
tree | 438aa47a1dca0ddfb8357a9d13971b68e31ee3ad /src/apps/mplayerc/PlayerSubresyncBar.cpp | |
parent | c8216eaeabb64dce8c8058c0ffaa51db1e99097d (diff) |
Added correct IDs for the docked bars. This fixes all known crashes with MSVC2010 builds.
Patch by heksesang
git-svn-id: https://mpc-hc.svn.sourceforge.net/svnroot/mpc-hc/trunk@2267 10f7b99b-c216-0410-bff0-8a66a9350fd8
Diffstat (limited to 'src/apps/mplayerc/PlayerSubresyncBar.cpp')
-rw-r--r-- | src/apps/mplayerc/PlayerSubresyncBar.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/apps/mplayerc/PlayerSubresyncBar.cpp b/src/apps/mplayerc/PlayerSubresyncBar.cpp index e54f0fdb6..e46470af7 100644 --- a/src/apps/mplayerc/PlayerSubresyncBar.cpp +++ b/src/apps/mplayerc/PlayerSubresyncBar.cpp @@ -43,7 +43,7 @@ CPlayerSubresyncBar::~CPlayerSubresyncBar() BOOL CPlayerSubresyncBar::Create(CWnd* pParentWnd, CCritSec* pSubLock)
{
- if(!CSizingControlBarG::Create(_T("Subresync"), pParentWnd, 0))
+ if(!CSizingControlBarG::Create(_T("Subresync"), pParentWnd, ID_VIEW_SUBRESYNC))
return FALSE;
m_pSubLock = pSubLock;
|