Changeset 4b464a4 for fmtext.c


Ignore:
Timestamp:
Aug 25, 2002, 11:35:03 AM (22 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
56330ff
Parents:
7131cf2
Message:
Messages now have a direciton (in, out or none).  Filters can
     this direction
Outbound messages are no longer type 'admin' but are of the
     appropriate message type (i.e. 'zephyr') and are direction
     'out'.
Smartnarrow now works on outgoing messages
'info' updated to show more information for admin and outgoing
     messages
Renamed pretty_sender to short_zuser and renamed long_sender to
     long_zuser
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    r1fd0b25 r4b464a4  
    494494}
    495495
     496void owl_fmtext_set_char(owl_fmtext *f, int index, int ch) {
     497  /* set the charater at 'index' to be 'char'.  If index is out of
     498   * bounds don't do anything */
     499  if ((index < 0) || (index > f->textlen-1)) return;
     500  f->textbuff[index]=ch;
     501}
     502
    496503void owl_fmtext_free(owl_fmtext *f) {
    497504  if (f->textbuff) owl_free(f->textbuff);
Note: See TracChangeset for help on using the changeset viewer.