summaryrefslogtreecommitdiffstats
path: root/library/demos/image2.tcl
diff options
context:
space:
mode:
authordkf <donal.k.fellows@manchester.ac.uk>2001-08-10 08:33:35 (GMT)
committerdkf <donal.k.fellows@manchester.ac.uk>2001-08-10 08:33:35 (GMT)
commitdfaab14056e4de894d0b2d7d9c2404711f7a707b (patch)
treec28865d91914252d582ef39fc13924a14d81e931 /library/demos/image2.tcl
parent18396553f0b7e28d471b618a13aba4a86442d5fe (diff)
downloadtk-dfaab14056e4de894d0b2d7d9c2404711f7a707b.zip
tk-dfaab14056e4de894d0b2d7d9c2404711f7a707b.tar.gz
tk-dfaab14056e4de894d0b2d7d9c2404711f7a707b.tar.bz2
Converted [glob [file join]] to [glob -directory] (Bug #223313)
Also cleaned up a few space/tab issues in the ChangeLog which make a difference if you're using a highlighting editor like emacs...
Diffstat (limited to 'library/demos/image2.tcl')
-rw-r--r--library/demos/image2.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/demos/image2.tcl b/library/demos/image2.tcl
index 5162ecc..6d3be0f 100644
--- a/library/demos/image2.tcl
+++ b/library/demos/image2.tcl
@@ -3,7 +3,7 @@
# This demonstration script creates a simple collection of widgets
# that allow you to select and view images in a Tk label.
#
-# RCS: @(#) $Id: image2.tcl,v 1.2 1998/09/14 18:23:29 stanton Exp $
+# RCS: @(#) $Id: image2.tcl,v 1.3 2001/08/10 08:33:35 dkf Exp $
if {![info exists widgetDemo]} {
error "This script should be run from the \"widget\" demo."
@@ -20,7 +20,7 @@ proc loadDir w {
global dirName
$w.f.list delete 0 end
- foreach i [lsort [glob [file join $dirName *]]] {
+ foreach i [lsort [glob -directory $dirName *]] {
$w.f.list insert end [file tail $i]
}
}