- Timestamp:
- Aug 2, 2010, 11:38:03 PM (14 years ago)
- Branches:
- master, release-1.10, release-1.7, release-1.8, release-1.9
- Children:
- e0022d2
- Parents:
- 2b83ad6
- git-author:
- David Benjamin <davidben@mit.edu> (07/25/10 19:43:08)
- git-committer:
- David Benjamin <davidben@mit.edu> (08/02/10 23:38:03)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
fmtext.c
r2b83ad6 r30da473 389 389 if (c == '\t') { 390 390 /* Copy up to this tab */ 391 _owl_fmtext_append_fmtext(out, in, numcopied, ptr - in->textbuff - 1);391 _owl_fmtext_append_fmtext(out, in, numcopied, ptr - in->textbuff); 392 392 /* and then copy spaces for the tab. */ 393 393 chwidth = OWL_TAB_WIDTH - (col % OWL_TAB_WIDTH); … … 406 406 /* Append anything we've missed. */ 407 407 if (numcopied < in->textlen) 408 _owl_fmtext_append_fmtext(out, in, numcopied, in->textlen - 1);408 _owl_fmtext_append_fmtext(out, in, numcopied, in->textlen); 409 409 } 410 410
Note: See TracChangeset
for help on using the changeset viewer.