Changeset 2de4f20 for text.c


Ignore:
Timestamp:
Dec 22, 2003, 8:43:30 PM (20 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:
952bb256
Parents:
b0430a6
Message:
Fixed bug in pseudo logouts
Reformatted some comments
File:
1 edited

Legend:

Unmodified
Added
Removed
  • text.c

    rf82e233 r2de4f20  
    77static const char fileIdent[] = "$Id$";
    88
     9/* start with line aline (where the first line is 1) and print 'lines'
     10 *  lines
     11 */
    912int owl_text_truncate_lines(char *out, char *in, int aline, int lines)
    1013{
    11   /* start with line aline (where the first line is 1) and print
    12    *  'lines' lines
    13    */
    1414  char *ptr1, *ptr2;
    1515  int i;
     
    4545}
    4646
     47 
     48/* the first column is column 0.  The message is expected to end in a
     49 * new line for now */
    4750void owl_text_truncate_cols(char *out, char *in, int acol, int bcol)
    4851{
    4952  char *ptr1, *ptr2, *tmpbuff, *last;
    5053  int len;
    51  
    52   /* the first column is column 0 */
    53 
    54   /* the message is expected to end in a new line for now */
    5554
    5655  tmpbuff=owl_malloc(strlen(in)+20);
Note: See TracChangeset for help on using the changeset viewer.