fix output of description/labeling \item when there's no trailing text

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@9806 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jürgen Spitzmüller 2005-04-11 15:09:54 +00:00
parent 134275fae0
commit ff38a62be6
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2005-04-11 Jürgen Spitzmüller <j.spitzmueller@gmx.de>
* paragraph.C (simpleTeXOnePar): add missing '}' in LaTeX
output of \item arguments without trailing text.
2005-04-06 Jean-Marc Lasgouttes <lasgouttes@lyx.org>
* FontIterator.C (operator*): avoid a copy of the font.

View File

@ -1069,7 +1069,7 @@ bool Paragraph::simpleTeXOnePar(Buffer const & buf,
// Needed if there is an optional argument but no contents.
if (body_pos > 0 && body_pos == size()) {
os << "]~";
os << "}]~";
return_value = false;
}