}
}
out_inner:
- wordChars = strnlen(cursor, wordLen);
+ wordChars = strlen(cursor);
+ if (wordChars > wordLen)
+ wordChars = wordLen;
spaceUsedForWord = wordWidth(passthroughCW, cursor, &wordChars, maxWidth - continuationWidth); // this may have reduced wordLen when it won't fit - but this is GOOD. TODO fix words that do fit in a non-continuation line
if(wordChars < 1)
{