[GDI+: 4/10] graphics test

Alexandre Julliard julliard at winehq.org
Tue Jun 12 05:30:39 CDT 2007


"Evan Stade" <estade at gmail.com> writes:

> +    wndClass.lpszClassName  = TEXT(ClassName);
> +
> +    if(!RegisterClassA(&wndClass)) return FALSE;

This is broken, TEXT() doesn't work on a variable name, and it's
useless since you call the A function anyway.

Please don't use any of the ugly TCHAR macros in tests, there's no
need for them. Either A/W doesn't matter and you can simply use plain
Ascii strings, or it does matter and then you have to explicitly test
both cases.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list