LISTBOX_Directory() returns LB_OKAY for invalid directory / f ilen ame

Alexandre Julliard julliard at
Tue Jun 22 16:54:03 CDT 2004

Krishna Murthy <Krishna.Murthy at> writes:

> Yesssss! got it, stupid mistake.... 
> It should be...
> if ((le == ERROR_NO_MORE_FILES) || (le == ERROR_FILE_NOT_FOUND)) return

That makes more sense, but it still looks wrong, I don't see why you
would ignore all other errors. I suspect what you are really trying to
do is to revert the change in rev 1.94, but this causes other problems
(cf. bug 1435). I think you'll have to write a regression test for
that one.

Alexandre Julliard
julliard at

More information about the wine-devel mailing list