Alexandre Julliard wrote:

> Andrew Talbot <[EMAIL PROTECTED]> writes:
> 
>> Changelog:
>>     kernel32: Remove unwanted null terminator.
> 
> There's no null terminator since the array size is specified
> explicitly.
> 
Ah, that's interesting! I see, from K&R, that "if [the array's] size is
fixed, the number of characters in the string, not counting the terminating
null character, must not exceed the size of the array." I had wrongly
assumed that the null character had to be counted in, too.

We live and learn!

Thanks,

-- Andy.




Reply via email to