diff options
| author | mjwybrow <mjwybrow@users.sourceforge.net> | 2006-02-11 01:57:03 +0000 |
|---|---|---|
| committer | mjwybrow <mjwybrow@users.sourceforge.net> | 2006-02-11 01:57:03 +0000 |
| commit | df24f0e2b0a31cd21cf96cb01c4d5eab041c1496 (patch) | |
| tree | 3f2e0551372f46d8dbecde68b841fe102398f891 /src/conn-avoid-ref.cpp | |
| parent | bug 1412504: infinite loop when moving a word to the left when already at the... (diff) | |
| download | inkscape-df24f0e2b0a31cd21cf96cb01c4d5eab041c1496.tar.gz inkscape-df24f0e2b0a31cd21cf96cb01c4d5eab041c1496.zip | |
* src/sp-conn-end-pair.cpp, src/conn-avoid-ref.cpp:
Fix two bugs from my commit yesterday.
(bzr r117)
Diffstat (limited to 'src/conn-avoid-ref.cpp')
| -rw-r--r-- | src/conn-avoid-ref.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/conn-avoid-ref.cpp b/src/conn-avoid-ref.cpp index 8fbdfb673..d7cca60f9 100644 --- a/src/conn-avoid-ref.cpp +++ b/src/conn-avoid-ref.cpp @@ -120,9 +120,9 @@ GSList *SPAvoidRef::getAttachedConnectors(const unsigned int type) Avoid::IntList::iterator finish = conns.end(); for (Avoid::IntList::iterator i = conns.begin(); i != finish; ++i) { const gchar *connId = g_quark_to_string(*i); - SPItem *item = SP_ITEM(item->document->getObjectById(connId)); - g_assert(item != NULL); - list = g_slist_prepend(list, item); + SPItem *citem = SP_ITEM(item->document->getObjectById(connId)); + g_assert(citem != NULL); + list = g_slist_prepend(list, citem); } return list; } |
