Changeset bd3f232 for fmtext.c


Ignore:
Timestamp:
Jun 10, 2003, 3:14:59 PM (21 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:
f14a7ee
Parents:
6e05655
Message:
Styles implemented
It's still a little buggy ... if a format_msg(); is used in perl admin
  messages (or maybe just the first admin message) are not formatted.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • fmtext.c

    r6bf73ce rbd3f232  
    468468  for (i=0; i<lines; i++) {
    469469    offset=ptr1-in->textbuff;
    470     ptr2=strchr(ptr1, '\n'); /* this is a valgrind suspicious line */
     470    ptr2=strchr(ptr1, '\n');
    471471    if (!ptr2) {
    472472      _owl_fmtext_append_fmtext(out, in, offset, (in->textlen)-1);
     
    578578  }
    579579  dst->textlen=src->textlen;
    580   dst->textbuff=owl_malloc(mallocsize); /* valgrind suspcious line */
     580  dst->textbuff=owl_malloc(mallocsize);
    581581  dst->fmbuff=owl_malloc(mallocsize);
    582582  dst->colorbuff=owl_malloc(mallocsize);
Note: See TracChangeset for help on using the changeset viewer.