SMALL fix
This commit is contained in:
parent
c566b321ea
commit
43572d4e60
|
@ -879,14 +879,14 @@ void MainWnd::OnUpdateOptionsSound44khz(CCmdUI* pCmdUI)
|
||||||
|
|
||||||
BOOL MainWnd::OnOptionsSoundVolume(UINT nID)
|
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 );
|
soundSetVolume( (float)soundVolume );
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
void MainWnd::OnUpdateOptionsSoundVolume(CCmdUI *pCmdUI)
|
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