fixed string length calculations again (correctly this time, I hope)
Authored by: jacks 2004-02-23
Parent: [r7710]
Child: [r7712]