diff --git a/src/ChangeLog b/src/ChangeLog index 4f0f649919..29f5ad0f83 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,5 +1,8 @@ 2006-02-22 Jürgen Spitzmüller + * buffer.C (readHeader): also erase params.preamble in advance + so that an empty preamble is actually recognized (bug 2317). + * rowpainter.C (paintFromPos): ditch applyOuterFont (bug 2308). 2006-02-06 Georg Baum diff --git a/src/buffer.C b/src/buffer.C index 6e6565c029..5abf1f6dda 100644 --- a/src/buffer.C +++ b/src/buffer.C @@ -404,6 +404,7 @@ int Buffer::readHeader(LyXLex & lex) // Initialize parameters that may be/go lacking in header: params().branchlist().clear(); + params().preamble.erase(); params().options.erase(); params().float_placement.erase(); params().paperwidth.erase();