]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathHull.cpp
Add \makeat switches to babel settings if necessary.
[lyx.git] / src / mathed / InsetMathHull.cpp
index 84f9ec467941ff8fff61aba760745ac72d00d2d5..2055fb2c4ba0a9aa5f523e0cabf6cb1c2525863d 100644 (file)
@@ -1377,7 +1377,7 @@ void InsetMathHull::doDispatch(Cursor & cur, FuncRequest & cmd)
                if (type_ == hullSimple || type_ == hullEquation) {
                        cur.recordUndoInset();
                        bool const align =
-                               cur.bv().buffer().params().use_amsmath == BufferParams::package_on;
+                               cur.bv().buffer().params().use_package("amsmath") == BufferParams::package_on;
                        mutate(align ? hullAlign : hullEqnArray);
                        // mutate() may change labels and such.
                        cur.forceBufferUpdate();