diff options
author | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-05 12:16:35 +0000 |
---|---|---|
committer | Kirill Volinsky <mataes2007@gmail.com> | 2013-04-05 12:16:35 +0000 |
commit | f0b8e60a4a4199808063d931108ff596e2942e3e (patch) | |
tree | 40367fce91ead9edab61b690ee3481085bfc72d6 /plugins | |
parent | c943899dce2dac80cf54f8c673a009d2a071ddd4 (diff) |
correct default value
git-svn-id: http://svn.miranda-ng.org/main/trunk@4312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/BASS_interface/src/Main.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/BASS_interface/src/Main.cpp b/plugins/BASS_interface/src/Main.cpp index ad31987d7b..2922f9440d 100644 --- a/plugins/BASS_interface/src/Main.cpp +++ b/plugins/BASS_interface/src/Main.cpp @@ -350,7 +350,7 @@ static LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR MButtonCustomize tmp = { sizeof(MButtonCtrl), 0, &fnPainter };
SendMessage(hwndMute, BUTTONSETCUSTOM, 0, (LPARAM)&tmp);
}
- EnableFrameIcon( db_get_b(NULL, "Skin", "UseSound", 1) != 0);
+ EnableFrameIcon( db_get_b(NULL, "Skin", "UseSound", 0) != 0);
hwndSlider = CreateWindow(TRACKBAR_CLASS, _T(""), WS_CHILD | WS_VISIBLE | TBS_NOTICKS | TBS_TOOLTIPS, 21, 1, 100, 20,
hwnd, (HMENU)0, (HINSTANCE)GetWindowLongPtr(hwnd, GWLP_HINSTANCE), NULL);
@@ -361,7 +361,7 @@ static LRESULT CALLBACK FrameWindowProc(HWND hwnd, UINT msg, WPARAM wParam, LPAR case WM_COMMAND:
if ((HWND)lParam == hwndMute) {
- bool useSound = !db_get_b(NULL, "Skin", "UseSound", 1);
+ bool useSound = !db_get_b(NULL, "Skin", "UseSound", 0);
db_set_b(NULL, "Skin", "UseSound", useSound);
EnableFrameIcon(useSound);
}
|