aboutsummaryrefslogtreecommitdiff
path: root/demos/magicLens.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'demos/magicLens.tcl')
-rw-r--r--demos/magicLens.tcl2
1 files changed, 1 insertions, 1 deletions
diff --git a/demos/magicLens.tcl b/demos/magicLens.tcl
index c142d53..3a50e72 100644
--- a/demos/magicLens.tcl
+++ b/demos/magicLens.tcl
@@ -196,7 +196,7 @@ namespace eval magicLens {
grid columnconfigure $w 1 -weight 1
grid rowconfigure $w 1 -weight 2
- variable imagePath [file join [demosPath] images]
+ variable imagePath [file join $::zinc_demos images]
variable texture [image create photo -file [file join $imagePath paper-grey1.gif]]
variable lensTexture [image create photo -file [file join $imagePath paper-grey.gif]]
$zinc configure -tile $texture