]> git.lyx.org Git - lyx.git/blobdiff - src/BufferParams.cpp
findadv: using \w instead of [[:word:]] makes test-case std::regex compatible; also...
[lyx.git] / src / BufferParams.cpp
index 19abefc0dd9706fd872c284aa9f14af470368482..1c00dbdd977f6c6f9523477cd03ecad27533e237 100644 (file)
@@ -1348,7 +1348,7 @@ void BufferParams::writeFile(ostream & os, Buffer const * buf) const
        else
                os << "\n\\defskip " << getDefSkip().asLyXCommand();
        os << "\n\\is_math_indent " << is_math_indent;
-       if (is_math_indent)
+       if (is_math_indent && getMathIndentation().asLyXCommand() != "default")
                os << "\n\\math_indentation " << getMathIndentation().asLyXCommand();
        os << "\n\\quotes_style "
           << string_quotes_style[quotes_style]