]> git.lyx.org Git - lyx.git/blobdiff - src/mathed/MathFactory.C
This commit fixes a crash when accessing a math inset. This was due to an invalid...
[lyx.git] / src / mathed / MathFactory.C
index 60b0a6c09ee30c009b24de52ca4336b75585e35f..6bc40bbea90b7e012d284e83ecf55ed00e8be955 100644 (file)
@@ -74,9 +74,6 @@ using std::istringstream;
 
 bool has_math_fonts;
 
-namespace lyx {
-extern bool use_gui;
-}
 
 namespace {
 
@@ -230,8 +227,7 @@ void initMath()
        if (!initialized) {
                initialized = true;
                initParser();
-               if (lyx::use_gui)
-                       initSymbols();
+               initSymbols();
        }
 }