git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@25285 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Enrico Forestieri 2008-06-16 20:39:40 +00:00
parent 4781794e4e
commit 01398327df

View File

@ -339,7 +339,7 @@ void InsetMathNest::write(WriteStream & os) const
bool textmode = os.textMode();
os.textMode(currentMode() == TEXT_MODE);
docstring const latex_name = name().c_str();
os << '\\' << latex_name.c_str();
os << '\\' << latex_name;
for (size_t i = 0; i < nargs(); ++i)
os << '{' << cell(i) << '}';
if (nargs() == 0)