]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/InsetMathMacroTemplate.h
Only set buffer if it is not null.
[lyx.git] / src / mathed / InsetMathMacroTemplate.h
index 24a0b14875bc276c43c3249bb8e23a0df682cf68..09408968d687caf33f837257171feae5bc8f87d0 100644 (file)
@@ -29,8 +29,8 @@ public:
        ///
        explicit InsetMathMacroTemplate(Buffer * buf);
        ///
-       InsetMathMacroTemplate(Buffer * buf, docstring const & name, int nargs,
-               int optional, MacroType type,
+       InsetMathMacroTemplate(Buffer * buf, docstring const & name, int numargs,
+               int optionals, MacroType type,
                std::vector<MathData> const & optionalValues = std::vector<MathData>(),
                MathData const & def = MathData(),
                MathData const & display = MathData());