remove double initilization

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3242 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
André Pönitz 2001-12-18 15:29:23 +00:00
parent b0dbd5e436
commit 84af236eda

View File

@ -85,12 +85,7 @@ enum MathFont {
void mathed_init_fonts()
{
MathFonts = new LyXFont[FONT_NUM]; //DEC cxx cannot initialize all fonts
//at once (JMarc) rc
for (int i = 0 ; i < FONT_NUM ; ++i) {
MathFonts[i] = LyXFont(LyXFont::ALL_SANE);
}
MathFonts = new LyXFont[FONT_NUM];
MathFonts[FONT_IT].setShape(LyXFont::ITALIC_SHAPE);