mirror of
https://git.lyx.org/repos/lyx.git
synced 2024-11-30 05:12:40 +00:00
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:
parent
b0dbd5e436
commit
84af236eda
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user