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

This commit is contained in:
Alex Villacís Lasso 2007-12-20 11:54:20 -05:00 committed by Alexandre Julliard
parent b98bfac4cc
commit c06cfa85c2
1 changed files with 1 additions and 2 deletions

View File

@ -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;
}