summaryrefslogtreecommitdiffstats
path: root/src/gui/SubpatchModule.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui/SubpatchModule.cpp')
-rw-r--r--src/gui/SubpatchModule.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/SubpatchModule.cpp b/src/gui/SubpatchModule.cpp
index 21ad0dd8..e71dcbc8 100644
--- a/src/gui/SubpatchModule.cpp
+++ b/src/gui/SubpatchModule.cpp
@@ -63,8 +63,8 @@ SubpatchModule::on_double_click(GdkEventButton* event)
void
SubpatchModule::store_location(double ax, double ay)
{
- const Atom x(static_cast<float>(ax));
- const Atom y(static_cast<float>(ay));
+ const Atom x(app().forge().make(static_cast<float>(ax)));
+ const Atom y(app().forge().make(static_cast<float>(ay)));
const URIs& uris = app().uris();