> also, asger suggested,
>
> while (text[i] != whitespace) {
> word += text[i++];
>
> however, there isn't a whitespace definition around, is there? So i've
> stayed with
>
> while (IsLetter(lastpos)) theword += text[lastpos++];
Yes, that was what I meant. It was pseudo-code.
> The new patch follows.
Ok, it's getting there.
For the finishing touch, I think you should take care not to modify
any .h files that don't need touching. As far as I recall, you
add a few commented out lines to some header files. we want to avoid
that, because those lines are not needed and they cause a lot of
recompilations that aren't needed.
In general, it's a good idea to read the patch. Just do "zless haw*"
and go over it to make it minimal.
Greets,
Asger Alstrup