Commit c06cfa85 authored by Alex Villacís Lasso's avatar Alex Villacís Lasso Committed by Alexandre Julliard

comdlg32: Fix another regression in 3.1-style file dialog from LB_DIR fix.

parent b98bfac4
......@@ -145,8 +145,7 @@ static BOOL FD31_ScanDir(HWND hWnd, LPCWSTR newPath)
if (scptr) *scptr = 0;
while (*filter == ' ') filter++;
TRACE("Using file spec %s\n", debugstr_w(filter));
if (SendMessageW(hdlg, LB_DIR, 0, (LPARAM)filter) == LB_ERR)
return FALSE;
SendMessageW(hdlg, LB_DIR, 0, (LPARAM)filter);
if (scptr) *scptr = ';';
filter = (scptr) ? (scptr + 1) : 0;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment