From: André Pönitz Date: Tue, 18 Dec 2001 15:29:23 +0000 (+0000) Subject: remove double initilization X-Git-Tag: 1.6.10~20142 X-Git-Url: https://git.lyx.org/gitweb/?a=commitdiff_plain;h=84af236eda979c5b6d06a8dce26449f03ec113e7;p=features.git remove double initilization git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@3242 a592a061-630c-0410-9148-cb99ea01b6c8 --- diff --git a/src/mathed/math_support.C b/src/mathed/math_support.C index f3d5a0b3d5..3f6ee22868 100644 --- a/src/mathed/math_support.C +++ b/src/mathed/math_support.C @@ -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);