Fixes bug #1435, regression caused by my earlier patch to change the FindFirstFile error code to what NT and 98 return. ChangeLog: Update listbox directory mode to new FindFirstFile error code.
Index: controls/listbox.c =================================================================== RCS file: /home/wine/wine/controls/listbox.c,v retrieving revision 1.93 diff -u -r1.93 listbox.c --- controls/listbox.c 8 Apr 2003 19:41:52 -0000 1.93 +++ controls/listbox.c 28 May 2003 19:43:19 -0000 @@ -1732,7 +1732,8 @@ /* scan directory */ if ((handle = FindFirstFileW(filespec, &entry)) == INVALID_HANDLE_VALUE) { - if (GetLastError() != ERROR_NO_MORE_FILES) return LB_ERR; + int le = GetLastError(); + if ((le != ERROR_NO_MORE_FILES) && (le != ERROR_FILE_NOT_FOUND)) return LB_ERR; } else {