]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_spaceinset.C
some (yet unfinished) up/down work
[lyx.git] / src / mathed / math_spaceinset.C
index 411903116b5395ff6a48dfdc38df62037e7f94a5..8f71fa0f8ec65d3c1553c9d77d7b971d8b804006 100644 (file)
@@ -119,8 +119,8 @@ void MathSpaceInset::incSpace()
 void MathSpaceInset::validate(LaTeXFeatures & features) const
 {
        if (space_ >= 0 && space_< nSpace) {
-               if ((latex_mathspace[space_] == "negmedspace")
-                || (latex_mathspace[space_] == "negthickspace"))
+               if ((latex_mathspace[space_] == string("negmedspace"))
+                || (latex_mathspace[space_] == string("negthickspace")))
                        features.require("amsmath");
        }
 }