mirror of
https://git.lyx.org/repos/lyx.git
synced 2025-01-22 07:42:02 +00:00
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:
parent
f826daf396
commit
af0c9adc38
@ -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);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user