Small mathed fix

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/branches/lyx-1_1_5@1128 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Jean-Marc Lasgouttes 2000-10-17 10:04:43 +00:00
parent ca3b6674be
commit e54fb71fa4
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2000-10-16 Jean-Marc Lasgouttes <Jean-Marc.Lasgouttes@inria.fr>
* src/mathed/math_macro.C (MathMacroTemplate): initialize args to
0 when there are no arguments.
2000-10-14 Dekel Tsur <dekelts@tau.ac.il>
* src/text.C (Backspace): Make sure that the row of the cursor is

View File

@ -284,8 +284,10 @@ MathMacroTemplate::MathMacroTemplate(char const * nm, int na, int flg):
for (int i = 0; i < nargs; ++i) {
args[i].setNumber(i + 1);
}
} else
} else {
tcode = LM_TC_INSET;
args = 0;
}
}