[PATCH v2 2/3] d3dx10/tests: Add tests for D3DX10GetImageInfoFromFileA().

Matteo Bruni matteo.mystral at gmail.com
Fri Sep 18 04:12:24 CDT 2020


On Mon, Sep 14, 2020 at 6:20 AM Ziqing Hui <zhui at codeweavers.com> wrote:
>
>
> Signed-off-by: Ziqing Hui <zhui at codeweavers.com>
> ---
>  dlls/d3dx10_43/tests/d3dx10.c | 40 +++++++++++++++++++++++++++++------
>  1 file changed, 33 insertions(+), 7 deletions(-)

I think get_str_a() is not necessary, just use MAX_PATH for the
string. If the user is running the tests with some crazy temporary
files path that's < MAX_PATH in utf16 but >= MAX_PATH when ASCII, too
bad for them...



More information about the wine-devel mailing list