Commit 5770ee7d authored by Claes Sjofors's avatar Claes Sjofors

Helpfile chapter and headerlevel bugfix

parent 785557f3
......@@ -1161,8 +1161,8 @@ void CnvToPdf::incr_headerlevel()
void CnvToPdf::decr_headerlevel()
{
ci--;
if ( ci < pdf_eId_TopicL1)
ci = pdf_eId_TopicL1;
if ( ci < pdf_eId_Chapter)
ci = pdf_eId_Chapter;
}
void CnvToPdf::reset_headernumbers( int level)
......
......@@ -144,8 +144,9 @@ void *CnvXtthelpToPdf::insert( navh_eItemType item_type, const char *text1,
topdf.y = pdf_cPageHeight - pdf_cTopMargin;
}
}
else
topdf.set_ci( pdf_eId_TopicL1);
else {
// topdf.set_ci( pdf_eId_TopicL1);
}
}
if ( first_topic) {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment