]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_decorationinset.C
More fonts in mathed.
[features.git] / src / mathed / math_decorationinset.C
index f6c733352547a20212544183228d051c6099aa19..11d5ff0f344e24c792bb36475ae275bc7ec78ad5 100644 (file)
@@ -76,10 +76,9 @@ void MathDecorationInset::draw(Painter & pain, int x, int y) const
 
 void MathDecorationInset::write(ostream & os, bool fragile) const
 {
-       string name = key_->name;
        if (fragile && protect())
                os << "\\protect";
-       os << '\\' << name;
+       os << '\\' << key_->name;
 
        if (key_->id == LM_not)
                os << ' ';