- Timestamp:
- Sep 16, 2002, 6:13:41 PM (22 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:
- 62f24bc
- Parents:
- 42abb10
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmtext.c
r4b464a4 raf2ca19 396 396 char *ptr1, *ptr2; 397 397 int i, offset; 398 399 /* initialize out */400 owl_fmtext_init_null(out);401 398 402 399 /* find the starting line */ … … 436 433 /* the message is expected to end in a new line for now */ 437 434 438 owl_fmtext_init_null(out);439 440 435 last=in->textbuff+in->textlen-1; 441 436 ptr1=in->textbuff; … … 478 473 int lines, i; 479 474 475 if (f->textlen==0) return(0); 476 480 477 lines=0; 481 for (i=0; f->textbuff[i]!='\0'; i++) {478 for (i=0; i<f->textlen; i++) { 482 479 if (f->textbuff[i]=='\n') lines++; 483 480 }
Note: See TracChangeset
for help on using the changeset viewer.