]> git.lyx.org Git - features.git/blobdiff - src/mathed/formulamacro.C
fix the matrix reading other small cleanup
[features.git] / src / mathed / formulamacro.C
index 6b993a69365a01faaa8c152bc6e0938c9c4fbeff..54642dc8fb5f15b108e8a778aead146c1d778add 100644 (file)
@@ -105,7 +105,8 @@ void InsetFormulaMacro::Read(Buffer const *, LyXLex & lex)
        MathedArray ar;
        
        mathed_parse(ar, 0, reinterpret_cast<MathParInset **>(&tmacro_));
-
+       // since tmacro_ == 0 when mathed_parse is called we need to sett
+       // its contents explicitly afterwards (Lgb)
        tmacro_->setData(ar);
        
        // Update line number