Huw Davies : riched20: Add an explicit run length member and use it rather than accessing the string length .