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.
Thanks


 
-- 
 
By by ... Detlef




Reply via email to