Fix stupid thinko.

It's not a good idea to be using int's as identifiers for absolutely 
everything here. It makes this kind of mistake WAY too easy.



git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31951 a592a061-630c-0410-9148-cb99ea01b6c8
This commit is contained in:
Richard Heck 2009-11-11 23:24:39 +00:00
parent f826daf396
commit af0c9adc38

View 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);
}