[OasisOLC] format_text

From: Andrey Fidrya (andrey@ALEX-UA.COM)
Date: 08/11/98


Hi, All!

It seems that format_text function from OasisOLC is broken. :(
Sometimes it adds extra "\r\n" or space(s) to text when it shouldn't do so.
This happens only if length of a string in text is near width limit (79 I
think).
So, often I end up with one extra "\r\n" at the end of formatted text...
Another bug: if a word is larger than width limit (for example, word is 85
symbols long, limit is 79), an empty line will be appended before unchanged
word.
Has anyone tried to fix it?

  Andrey (andrey@alex-ua.com)
    aka Zmey // RMUD (telnet://rmud.techno.ru:4000)


     +------------------------------------------------------------+
     | Ensure that you have read the CircleMUD Mailing List FAQ:  |
     | http://democracy.queensu.ca/~fletcher/Circle/list-faq.html |
     +------------------------------------------------------------+



This archive was generated by hypermail 2b30 : 12/15/00 PST