]> git.lyx.org Git - features.git/commitdiff
somebody should have told me that '!' has a meaning...
authorAndré Pönitz <poenitz@gmx.net>
Wed, 14 Aug 2002 10:44:48 +0000 (10:44 +0000)
committerAndré Pönitz <poenitz@gmx.net>
Wed, 14 Aug 2002 10:44:48 +0000 (10:44 +0000)
git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@4966 a592a061-630c-0410-9148-cb99ea01b6c8

src/mathed/math_extern.C

index 2daae01adcbb356f48bdebb9bd9e73f45759ea2e..ae8a0fee85633951df8fae003f4bc88663fe29a4 100644 (file)
@@ -155,11 +155,9 @@ void extractMatrices(MathArray & ar)
        }
 
        // second pass for AMS "pmatrix" etc
-       for (MathArray::size_type i = 0; i < ar.size(); ++i) {
+       for (MathArray::size_type i = 0; i < ar.size(); ++i)
                if (ar[i]->asAMSArrayInset())
-                       continue;
-               ar[i] = MathAtom(new MathMatrixInset(*(ar[i]->asGridInset())));
-       }
+                       ar[i] = MathAtom(new MathMatrixInset(*(ar[i]->asGridInset())));
        //lyxerr << "\nMatrices to: " << ar << "\n";
 }
 
@@ -786,6 +784,7 @@ void extractLims(MathArray & ar)
 
 void extractStructure(MathArray & ar)
 {
+       //lyxerr << "\nStructure from: " << ar << "\n";
        extractIntegrals(ar);
        extractSums(ar);
        splitScripts(ar);
@@ -798,6 +797,7 @@ void extractStructure(MathArray & ar)
        extractExps(ar);
        extractLims(ar);
        extractStrings(ar);
+       //lyxerr << "\nStructure to: " << ar << "\n";
 }