From f0b8e60a4a4199808063d931108ff596e2942e3e Mon Sep 17 00:00:00 2001 From: Kirill Volinsky Date: Fri, 5 Apr 2013 12:16:35 +0000 Subject: correct default value git-svn-id: http://svn.miranda-ng.org/main/trunk@4312 1316c22d-e87f-b044-9b9b-93d7a3e3ba9c --- plugins/BASS_interface/src/Main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'plugins/BASS_interface/src') 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); } -- cgit v1.2.3