]> git.lyx.org Git - features.git/blobdiff - src/mathed/math_macro.C
Bibtex fix from Angus ; first try at fixing mathed crash
[features.git] / src / mathed / math_macro.C
index 3f88d4790758a8586d9fbdac420b639e62cf57f9..2ddc24d13de846a5f4b7338648cc55ac955e1343 100644 (file)
@@ -265,8 +265,10 @@ MathMacroTemplate::MathMacroTemplate(string const & nm, int na, int flg):
        for (int i = 0; i < nargs; ++i) {
            args[i].setNumber(i + 1);
        }
-    } else 
-      tcode = LM_TC_INSET;
+    } else {
+       tcode = LM_TC_INSET;
+       args = 0;
+    }
 }