summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
2399388)
word spaceword;
textfile tf;
wchar_t *prefixextra;
word spaceword;
textfile tf;
wchar_t *prefixextra;
- int nesting, nestindent;
+ int nesting, nestbase, nestindent;
int indentb, indenta;
IGNORE(unused);
int indentb, indenta;
IGNORE(unused);
conf.atitle, conf.indent, conf.width, &conf);
nestindent = conf.listindentbefore + conf.listindentafter;
conf.atitle, conf.indent, conf.width, &conf);
nestindent = conf.listindentbefore + conf.listindentafter;
- nesting = (conf.indent_preambles ? 0 : -conf.indent);
+ nestbase = (conf.indent_preambles ? 0 : -conf.indent);
+ nesting = nestbase;
/* Do the main document */
for (p = sourceform; p; p = p->next) switch (p->type) {
/* Do the main document */
for (p = sourceform; p; p = p->next) switch (p->type) {
break;
case para_LcontPop:
nesting -= nestindent;
break;
case para_LcontPop:
nesting -= nestindent;
+ assert(nesting >= nestbase);