SMALL fix

This commit is contained in:
spacy51 2008-08-26 23:55:52 +00:00
parent c566b321ea
commit 43572d4e60
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) );
}