Changeset 4d4f0ba for style.c


Ignore:
Timestamp:
Jul 20, 2011, 4:39:33 PM (13 years ago)
Author:
Jason Gross <jgross@mit.edu>
Children:
ac919d96
Parents:
d8f22b6
git-author:
Jason Gross <jgross@mit.edu> (07/20/11 03:09:43)
git-committer:
Jason Gross <jgross@mit.edu> (07/20/11 16:39:33)
Message:
Give owl_text_indent an indent_first_line parameter

This is useful if you need to indent text that isn't broken into chunks
that end with newlines.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • style.c

    rfa180a3 r4d4f0ba  
    6565
    6666  /* indent and ensure ends with a newline */
    67   indent = owl_text_indent(body, OWL_TAB);
     67  indent = owl_text_indent(body, OWL_TAB, true);
    6868  curlen = strlen(indent);
    6969  if (curlen == 0 || indent[curlen-1] != '\n') {
Note: See TracChangeset for help on using the changeset viewer.