Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#178 max_text_width - break on space instead of middle of word

open
nobody
5
2011-02-12
2011-02-12
Josh Schreuder
No

max_text_width was breaking lines in the middle of words, this changes it so it iterates back from max_text_width until a space is found, and inserts newline there. I wasn't sure what the p[k] = p[k-1]; was doing, so apologies if this breaks something.

Discussion

  • Josh Schreuder
    Josh Schreuder
    2011-02-12

     
    Attachments