- Timestamp:
- Dec 22, 2003, 8:43:30 PM (20 years ago)
- 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
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
text.c
rf82e233 r2de4f20 7 7 static const char fileIdent[] = "$Id$"; 8 8 9 /* start with line aline (where the first line is 1) and print 'lines' 10 * lines 11 */ 9 12 int owl_text_truncate_lines(char *out, char *in, int aline, int lines) 10 13 { 11 /* start with line aline (where the first line is 1) and print12 * 'lines' lines13 */14 14 char *ptr1, *ptr2; 15 15 int i; … … 45 45 } 46 46 47 48 /* the first column is column 0. The message is expected to end in a 49 * new line for now */ 47 50 void owl_text_truncate_cols(char *out, char *in, int acol, int bcol) 48 51 { 49 52 char *ptr1, *ptr2, *tmpbuff, *last; 50 53 int len; 51 52 /* the first column is column 0 */53 54 /* the message is expected to end in a new line for now */55 54 56 55 tmpbuff=owl_malloc(strlen(in)+20);
Note: See TracChangeset
for help on using the changeset viewer.