kernel32: Give the non-wildcard case a chance of succeeding first time around.

This commit is contained in:
Huw Davies 2013-12-04 14:28:55 +00:00 committed by Alexandre Julliard
parent 9be5df10ae
commit 67545ed54c
1 changed files with 1 additions and 1 deletions

View File

@ -1974,7 +1974,7 @@ HANDLE WINAPI FindFirstFileExW( LPCWSTR filename, FINDEX_INFO_LEVELS level,
IO_STATUS_BLOCK io;
BOOL has_wildcard = strpbrkW( info->mask.Buffer, wildcardsW ) != NULL;
info->data_size = has_wildcard ? 8192 : max_entry_size;
info->data_size = has_wildcard ? 8192 : max_entry_size * 2;
while (info->data_size)
{