summaryrefslogtreecommitdiffstats
path: root/src/selection-chemistry.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/selection-chemistry.cpp')
-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 {