https://git.reactos.org/?p=reactos.git;a=commitdiff;h=98b2451dfe31aa4b8b0f6f985182a93ecc2879a0

commit 98b2451dfe31aa4b8b0f6f985182a93ecc2879a0
Author:     Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com>
AuthorDate: Sat Dec 16 10:33:03 2023 +0900
Commit:     Katayama Hirofumi MZ <katayama.hirofumi...@gmail.com>
CommitDate: Sat Dec 16 10:33:03 2023 +0900

    [CHARMAP] BM_CLICK's wParam must be zero
---
 base/applications/charmap/settings.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/base/applications/charmap/settings.c 
b/base/applications/charmap/settings.c
index 5a30f6d0943..ff1ea3100cc 100644
--- a/base/applications/charmap/settings.c
+++ b/base/applications/charmap/settings.c
@@ -93,7 +93,7 @@ extern void LoadSettings(void)
         lstatus = RegQueryValueEx(hKey, _T("Advanced"), NULL, &type, 
(LPBYTE)&dwAdvancedChecked, &size);
         if (lstatus == ERROR_SUCCESS && type == REG_DWORD && dwAdvancedChecked 
!= FALSE)
         {
-            SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, 
MF_CHECKED, 0);
+            SendDlgItemMessage(hCharmapDlg, IDC_CHECK_ADVANCED, BM_CLICK, 0, 
0);
         }
 
     RegCloseKey(hKey);

Reply via email to