summaryrefslogtreecommitdiff
path: root/src/modules/findadd/findadd.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/findadd/findadd.cpp')
-rw-r--r--src/modules/findadd/findadd.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/findadd/findadd.cpp b/src/modules/findadd/findadd.cpp
index ef08f042be..40a7b73890 100644
--- a/src/modules/findadd/findadd.cpp
+++ b/src/modules/findadd/findadd.cpp
@@ -793,7 +793,7 @@ static INT_PTR CALLBACK DlgProcFindAdd(HWND hwndDlg, UINT msg, WPARAM wParam, LP
if (lParam && dat->hwndTinySearch == (HWND)lParam &&
HIWORD(wParam) == EN_SETFOCUS && LOWORD(wParam) == 0 &&
- !IsDlgButtonChecked(hwndDlg, IDC_BYCUSTOM))
+ BST_UNCHECKED == IsDlgButtonChecked(hwndDlg, IDC_BYCUSTOM))
{
CheckSearchTypeRadioButton(hwndDlg, IDC_BYCUSTOM);
}