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:
spacy51 2008-08-26 23:55:52 +00:00
parent 7141f3197f
commit 465d70b9cc
1 changed files with 2 additions and 2 deletions

View File

@ -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) );
}