don't output ' ' after '$' unless needed

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@2364 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-07-27 09:55:44 +00:00
parent 43d1fd2562
commit 739b051626

View File

@ -236,7 +236,9 @@ void MathMatrixInset::header_write(std::ostream & os) const
switch (getType()) {
case LM_OT_SIMPLE:
os << "$ ";
os << '$';
if (cell(0).empty())
os << ' ';
break;
case LM_OT_EQUATION:
@ -270,7 +272,7 @@ void MathMatrixInset::footer_write(std::ostream & os) const
switch (getType()) {
case LM_OT_SIMPLE:
os << "$";
os << '$';
break;
case LM_OT_EQUATION: