SMALL fix
git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@643 a31d4220-a93d-0410-bf67-fe4944624d44
This commit is contained in:
parent
7141f3197f
commit
465d70b9cc
|
@ -879,14 +879,14 @@ void MainWnd::OnUpdateOptionsSound44khz(CCmdUI* pCmdUI)
|
|||
|
||||
BOOL MainWnd::OnOptionsSoundVolume(UINT nID)
|
||||
{
|
||||
UINT soundVolume = nID - ID_OPTIONS_SOUND_VOLUME_1X;
|
||||
UINT soundVolume = nID - ID_OPTIONS_SOUND_VOLUME_1X + 1;
|
||||
soundSetVolume( (float)soundVolume );
|
||||
return TRUE;
|
||||
}
|
||||
|
||||
void MainWnd::OnUpdateOptionsSoundVolume(CCmdUI *pCmdUI)
|
||||
{
|
||||
pCmdUI->SetCheck( soundGetVolume() == (float)(pCmdUI->m_nID - ID_OPTIONS_SOUND_VOLUME_1X) );
|
||||
pCmdUI->SetCheck( soundGetVolume() == (float)(pCmdUI->m_nID - ID_OPTIONS_SOUND_VOLUME_1X + 1) );
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue