Alboni Messages: 214 Registered: January 2012 Location: Deventer, Netherlands
Experienced Member
I was unable to create a testcase that would show the problem.
It turned out to be a bug in my program wich I fixed.
Cause: The use of GetCharCount instead of GetCount when scanning a string for a suitable spot to break it into multiple lines.
I was under the impression that somestring[i] would produce a variable width character rather than a byte.