summaryrefslogtreecommitdiff
path: root/src/core/stdfile/fileopts.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/stdfile/fileopts.cpp')
-rw-r--r--src/core/stdfile/fileopts.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/stdfile/fileopts.cpp b/src/core/stdfile/fileopts.cpp
index c018c18a5f..a19a912e6a 100644
--- a/src/core/stdfile/fileopts.cpp
+++ b/src/core/stdfile/fileopts.cpp
@@ -62,8 +62,7 @@ static INT_PTR CALLBACK DlgProcFileOpts(HWND hwndDlg, UINT msg, WPARAM wParam, L
{
TranslateDialogDefault(hwndDlg);
- if (shAutoComplete)
- shAutoComplete(GetDlgItem(hwndDlg, IDC_FILEDIR), SHACF_FILESYS_DIRS);
+ SHAutoComplete(GetDlgItem(hwndDlg, IDC_FILEDIR), SHACF_FILESYS_DIRS);
{
TCHAR str[MAX_PATH];