Move the to == from test, so as to return as soon as we find a path. The
commit1b467967fa0aaa00baaecac1370550eb80fc4e5a
authorrgheck <rgheck@a592a061-630c-0410-9148-cb99ea01b6c8>
Mon, 9 Nov 2009 03:53:20 +0000 (9 03:53 +0000)
committerrgheck <rgheck@a592a061-630c-0410-9148-cb99ea01b6c8>
Mon, 9 Nov 2009 03:53:20 +0000 (9 03:53 +0000)
treea7d8ea9ec8b0bbe096db523994d77358aa9ae0ec
parentb71fdeffad590bca0c69794947acf04159e9ffbf
Move the to == from test, so as to return as soon as we find a path. The
old way, we can waste time.

git-svn-id: svn://svn.lyx.org/lyx/lyx-devel/trunk@31916 a592a061-630c-0410-9148-cb99ea01b6c8
src/Graph.cpp