Krishna Murthy <[EMAIL PROTECTED]> writes:
> diff -u -r1.103 listbox.c
> --- wine/controls/listbox.c 1 Apr 2004 04:57:12 -0000 1.103
> +++ wine/controls/listbox.c 17 Jun 2004 21:50:20 -0000
> @@ -1760,7 +1760,7 @@
> if ((handle = FindFirstFileW(filespec, &entry)) == INVALID_HANDLE_VALUE)
> {
> int le = GetLastError();
> - if ((le != ERROR_NO_MORE_FILES) && (le != ERROR_FILE_NOT_FOUND)) return
> LB_ERR;
> + if ((le != ERROR_NO_MORE_FILES) || (le != ERROR_FILE_NOT_FOUND)) return
> LB_ERR;
This makes the test completely useless, it can't be right.
--
Alexandre Julliard
[EMAIL PROTECTED]