aboutsummaryrefslogtreecommitdiff
path: root/owned.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'owned.tcl')
-rw-r--r--owned.tcl8
1 files changed, 4 insertions, 4 deletions
diff --git a/owned.tcl b/owned.tcl
index 0a5f9b0..32c76ce 100644
--- a/owned.tcl
+++ b/owned.tcl
@@ -16,12 +16,12 @@ proc owned::constructor {self args} {
# HOT inlet --------------------------------------------------------------------
proc owned::0_symbol {self args} {
- variable ${self}::filename [pd::arg 0 symbol]
+ variable ${self}::filename [tclfile::expand_vars [pd::arg 0 symbol]]
owned::0_bang $self
}
proc owned::0_anything {self args} {
- variable ${self}::filename [tclfile::make_symbol $args]
+ variable ${self}::filename [tclfile::expand_vars [tclfile::make_symbol $args]]
owned::0_bang $self
}
@@ -38,11 +38,11 @@ proc owned::0_bang {self} {
# COLD inlet -------------------------------------------------------------------
proc owned::1_symbol {self args} {
- variable ${self}::filename [pd::arg 0 symbol]
+ variable ${self}::filename [tclfile::expand_vars [pd::arg 0 symbol]]
}
proc owned::1_anything {self args} {
- variable ${self}::filename [tclfile::make_symbol $args]
+ variable ${self}::filename [tclfile::expand_vars [tclfile::make_symbol $args]]
}
pd::class owned