As a general rule it usually makes a resonable job of creating messages and line lengths that work in most cases. However there are times where replying to some that have been formatted in a particular way you get odd results.
To reformat the message, simply hit CTRL + R and then all will be well again.