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

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


Krishna Murthy <Krishna.Murthy at guptaworldwide.com> writes:

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

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 winehq.org



More information about the wine-devel mailing list