user32: make the listbox tests pass in directories other than dlls/user32/tests. [RESEND]

Alexandre Julliard julliard at winehq.org
Thu Feb 7 05:57:23 CST 2008


"Reece Dunn" <msclrhd at googlemail.com> writes:

> diff --git a/dlls/user32/tests/listbox.c b/dlls/user32/tests/listbox.c
> index 3645190..f1a7b2b 100644
> --- a/dlls/user32/tests/listbox.c
> +++ b/dlls/user32/tests/listbox.c
> @@ -560,6 +560,8 @@ static void test_listbox_LB_DIR()
>      char * p;
>      char driveletter;
>  
> +    fclose( fopen( "wtest1.tmp.c", "w" ) );

Using stdio is not really appropriate here, CreateFile() would be a
better choice.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list