diff --git a/src/ChangeLog b/src/ChangeLog index 541c85e90f..03adbb5a69 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,7 @@ +2003-05-22 Lars Gullik Bjønnes + + * paragraph.C (Paragraph): initialize next_par_ and prev_par_ + 2003-05-22 Angus Leeming * latexrunparams.h: new file containing struct LatexRunParams. diff --git a/src/paragraph.C b/src/paragraph.C index 7662e1ebaf..3976759462 100644 --- a/src/paragraph.C +++ b/src/paragraph.C @@ -73,6 +73,9 @@ Paragraph::Paragraph() #ifndef NO_NEXT next_ = 0; previous_ = 0; +#else + next_par_ = 0; + prev_par_ = 0; #endif enumdepth = 0; itemdepth = 0; @@ -88,6 +91,9 @@ Paragraph::Paragraph(Paragraph const & lp, bool same_ids) #ifndef NO_NEXT next_ = 0; previous_ = 0; +#else + next_par_ = 0; + prev_par_ = 0; #endif // this is because of the dummy layout of the paragraphs that // follow footnotes