mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-12-26 14:15:32 +00:00
* src/buffer.C (readHeader):
- reset custom bullets initially. Fixes bug 3312. * src/bufferparams.C: fix typo in comment git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@17419 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
d588c13f3f
commit
c808fc0445
@ -428,6 +428,10 @@ int Buffer::readHeader(LyXLex & lex)
|
||||
params().headheight.erase();
|
||||
params().headsep.erase();
|
||||
params().footskip.erase();
|
||||
for (int i = 0; i < 4; ++i) {
|
||||
params().user_defined_bullet(i) = ITEMIZE_DEFAULTS[i];
|
||||
params().temp_bullet(i) = ITEMIZE_DEFAULTS[i];
|
||||
}
|
||||
|
||||
ErrorList & errorList = errorLists_["Parse"];
|
||||
|
||||
|
@ -603,7 +603,7 @@ void BufferParams::writeFile(ostream & os) const
|
||||
// the textclass
|
||||
os << "\\textclass " << textclasslist[textclass].name() << '\n';
|
||||
|
||||
// then the the preamble
|
||||
// then the preamble
|
||||
if (!preamble.empty()) {
|
||||
// remove '\n' from the end of preamble
|
||||
string const tmppreamble = rtrim(preamble, "\n");
|
||||
|
Loading…
Reference in New Issue
Block a user