]> git.lyx.org Git - lyx.git/blobdiff - src/Graph.cpp
MathML for InsetMathBig.
[lyx.git] / src / Graph.cpp
index c5e13ad214f92c1f2ad6770aea630740752524d0..d30e3d4999fffd31211f2d510b9ba0c96fb6fe38 100644 (file)
@@ -225,9 +225,8 @@ void Graph::getMarkedPath(int from, int to, EdgePath & path) {
                LASSERT(false, /* */);
                return;
        }
-       int const newnode = (*it)->from;
-       path.push_back(newnode);
-       getMarkedPath(from, newnode, path);
+       path.push_back((*it)->id);
+       getMarkedPath(from, (*it)->from, path);
 }