]> git.lyx.org Git - features.git/blobdiff - src/mathed/InsetMathSpace.cpp
Implement the suggestion by Andre'
[features.git] / src / mathed / InsetMathSpace.cpp
index 4aa9ed58c1d025a70f8f1a5b8f9077ae4a47eb11..b9286087cf26599187d568adf3b50a72906f3dd5 100644 (file)
@@ -147,10 +147,9 @@ void InsetMathSpace::normalize(NormalStream & os) const
 void InsetMathSpace::write(WriteStream & os) const
 {
        if (space_ >= 0 && space_ < nSpace) {
-               bool brace = ensureMath(os);
+               MathEnsurer ensurer(os);
                os << '\\' << latex_mathspace[space_];
                os.pendingSpace(true);
-               os.pendingBrace(brace);
        }
 }