Remove extra character after an inset in linuxdoc output.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/BRANCH_1_1_6@2721 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Dekel Tsur 2001-09-11 09:34:15 +00:00
parent 5030ef0317
commit 8386741a64
2 changed files with 6 additions and 3 deletions

View File

@ -1,3 +1,8 @@
2001-09-11 Dekel Tsur <dekelts@tau.ac.il>
* src/buffer.C (SimpleLinuxDocOnePar): Remove extra character
after an inset.
2001-09-06 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* lib/examples/da_splash.lyx: new translation from Claus Hindsgaul

View File

@ -2802,9 +2802,7 @@ void Buffer::SimpleLinuxDocOnePar(ostream & os, LyXParagraph * par,
if (c == LyXParagraph::META_INSET) {
inset = par->GetInset(i);
inset->Linuxdoc(this, os);
}
if (font2.latex() == LyXFont::ON) {
} else if (font2.latex() == LyXFont::ON) {
// "TeX"-Mode on == > SGML-Mode on.
if (c != '\0')
os << c; // see LaTeX-Generation...