summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: eca1b88)
raw | patch | inline | side by side (parent: eca1b88)
author | mjwybrow <mjwybrow@users.sourceforge.net> | |
Fri, 2 Feb 2007 05:52:38 +0000 (05:52 +0000) | ||
committer | mjwybrow <mjwybrow@users.sourceforge.net> | |
Fri, 2 Feb 2007 05:52:38 +0000 (05:52 +0000) |
src/graphlayout/graphlayout.cpp | patch | blob | history |
index 132db2db626f78edd03d77cdc3a71a1876fde43e..30085a00f90f6774eca248f9e8723c7440b1a6bc 100644 (file)
} else {
iv=items[0];
}
-
+
+ if (iv == NULL) {
+ // The connector is not attached to anything at the
+ // other end so we should just ignore it.
+ continue;
+ }
+
// What do we do if iv not in nodelookup?!?!
map<string,unsigned>::iterator v_pair=nodelookup.find(iv->id);
if(v_pair!=nodelookup.end()) {