summaryrefslogtreecommitdiff
path: root/src/modules/options
diff options
context:
space:
mode:
Diffstat (limited to 'src/modules/options')
-rw-r--r--src/modules/options/options.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/options/options.cpp b/src/modules/options/options.cpp
index 7d5f72ba0e..6beda3336a 100644
--- a/src/modules/options/options.cpp
+++ b/src/modules/options/options.cpp
@@ -669,7 +669,7 @@ static void RebuildPageTree(HWND hdlg, OptionsDlgData *dat)
}
if (dat->szFilterString[0] == 0) // Clear the keyword combo box
- SetWindowText(GetDlgItem(hdlg, IDC_KEYWORD_FILTER), _T(""));
+ SetDlgItemText(hdlg, IDC_KEYWORD_FILTER, _T(""));
if (!bRemoveFocusFromFilter)
SetFocus(GetDlgItem(hdlg, IDC_KEYWORD_FILTER)); //set the focus back to the combo box