FW: locales, unicode and ansi with msvcrt (bug 8022)

Detlef Riekenberg wine.dev at web.de
Tue Apr 17 10:53:23 CDT 2007

Hi Jason.
On Mo, 2007-04-16 at 22:28 +0100, you wrote:

> +    ok (i = (fread (wbuffer, 1, sizeof (wbuffer), file) == 3 *
> sizeof(WCHAR)), "read wrong byte count got %i\n", c);

You put the result in "i", but in the message, you dump "c".
(similar bug some lines later: Copy & Paste)

Also calling the function to test in a seperate Line looks much nicer.

By by ... Detlef

More information about the wine-devel mailing list