25 Sep
2006
25 Sep
'06
4:51 p.m.
Alexandre Julliard wrote:
Andrew Talbot <Andrew.Talbot(a)talbotville.com> 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.