Changeset 3a7cf49 for message.c


Ignore:
Timestamp:
Jan 4, 2008, 2:31:55 PM (16 years ago)
Author:
Alejandro R. Sedeño <asedeno@mit.edu>
Branches:
master, barnowl_perlaim, debian, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
6d77f1f
Parents:
830c36e
Message:
* Rework some logic in fmtext's column truncating code.
* fix what appears to be an off-by-one error, though I can't explain why
  it never manifested in trunk.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • message.c

    r47519e1b r3a7cf49  
    535535  owl_fmtext_init_null(&b);
    536536 
    537   owl_fmtext_truncate_lines(&(m->fmtext->fmtext), aline, bline-aline+1, &a);
     537  owl_fmtext_truncate_lines(&(m->fmtext->fmtext), aline, bline-aline, &a);
    538538  owl_fmtext_truncate_cols(&a, acol, bcol, &b);
    539539  owl_fmtext_colorize(&b, fgcolor);
Note: See TracChangeset for help on using the changeset viewer.