From 465d70b9cce6374688dee8e31332e5715ce978d4 Mon Sep 17 00:00:00 2001 From: spacy51 Date: Tue, 26 Aug 2008 23:55:52 +0000 Subject: [PATCH] SMALL fix git-svn-id: https://svn.code.sf.net/p/vbam/code/trunk@643 a31d4220-a93d-0410-bf67-fe4944624d44 --- src/win32/MainWndOptions.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/win32/MainWndOptions.cpp b/src/win32/MainWndOptions.cpp index 424f8d07..d6717b5e 100644 --- a/src/win32/MainWndOptions.cpp +++ b/src/win32/MainWndOptions.cpp @@ -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) ); }