diff options
author | donal.k.fellows@manchester.ac.uk <dkf> | 2001-08-10 08:33:35 (GMT) |
---|---|---|
committer | donal.k.fellows@manchester.ac.uk <dkf> | 2001-08-10 08:33:35 (GMT) |
commit | 24c8dccc0184a73dd47992ff345984fb1a4194cb (patch) | |
tree | c28865d91914252d582ef39fc13924a14d81e931 /library | |
parent | 5f45a518f68484f41eb33d6279097c2edfa454fa (diff) | |
download | tk-24c8dccc0184a73dd47992ff345984fb1a4194cb.zip tk-24c8dccc0184a73dd47992ff345984fb1a4194cb.tar.gz tk-24c8dccc0184a73dd47992ff345984fb1a4194cb.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')
-rw-r--r-- | library/demos/image2.tcl | 4 |
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] } } |