Created attachment 645618 [details] [diff] [review] Fix
Good catch. The width is determined but the variable never used. The real text conversion is done in ConvertBufToPlainText() and that one fetches the pref itself (and caps the width differently). This will help bug 155219 to reduce confusion about the various manglings of the pref value.
aceman, thank you for the info. There are lots of wrap length issues. We need WADA there too. ;-p