summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJon A. Cruz <jon@joncruz.org>2014-10-24 14:54:47 +0000
committerJon A. Cruz <jon@joncruz.org>2014-10-24 14:54:47 +0000
commitf25b60f21652dae1992eb2b8df038b0a1d545b11 (patch)
tree7f7cb78830751b62042ded39874c75cb117df73a
parentAddress possible-yet-unlikely null parent scenario. (diff)
downloadinkscape-f25b60f21652dae1992eb2b8df038b0a1d545b11.tar.gz
inkscape-f25b60f21652dae1992eb2b8df038b0a1d545b11.zip
Correct casting from wrong variable.
(bzr r13637)
-rw-r--r--src/selection-chemistry.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/selection-chemistry.cpp b/src/selection-chemistry.cpp
index fa01689e0..dd91a5fa0 100644
--- a/src/selection-chemistry.cpp
+++ b/src/selection-chemistry.cpp
@@ -2795,7 +2795,7 @@ sp_select_clone_original(SPDesktop *desktop)
}
SPItem *original = NULL;
- SPUse *use = dynamic_cast<SPUse *>(original);
+ SPUse *use = dynamic_cast<SPUse *>(item);
if (use) {
original = use->get_original();
} else {