mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-18 21:45:24 +00:00
(From spitz@lyx.org)
* src/buffer.C (readHeader): reset custom bullets initially. Fixes bug 3312. git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_4_X@17432 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
parent
1185d74bb1
commit
2aa90ddc2b
@ -1,3 +1,7 @@
|
||||
2007-03-13 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
|
||||
|
||||
* buffer.C (readHeader): make sure to reset bullets too (bug 3312)
|
||||
|
||||
2007-02-25 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
|
||||
|
||||
* lyx_cb.C (InsertAsciiFile): delete selection before insertion
|
||||
|
@ -414,6 +414,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];
|
||||
}
|
||||
|
||||
while (lex.isOK()) {
|
||||
lex.next();
|
||||
|
@ -560,7 +560,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…
x
Reference in New Issue
Block a user