]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/math_support.C
forward search in math insets. ugly. seems to work. don't ask why.
[lyx.git] / src / mathed / math_support.C
index f3d5a0b3d5c9725bc827ad4df219070f89446a2f..3f6ee22868744fd2f000d5c0db75f03f6aa77e69 100644 (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);