summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorandreas_kupries <akupries@shaw.ca>2002-11-01 00:28:41 (GMT)
committerandreas_kupries <akupries@shaw.ca>2002-11-01 00:28:41 (GMT)
commite5e2c94b2d9cde7e7427d1cd7edcd66d393c2b8d (patch)
treedc7bc4d046faa133db3902484f587ba76e94c4c0
parenta04cf8ef01358dba752718a48cde2847e3e98ad0 (diff)
downloadtcl-e5e2c94b2d9cde7e7427d1cd7edcd66d393c2b8d.zip
tcl-e5e2c94b2d9cde7e7427d1cd7edcd66d393c2b8d.tar.gz
tcl-e5e2c94b2d9cde7e7427d1cd7edcd66d393c2b8d.tar.bz2
* library/word.tcl: Changed $tcl_platform to $::tcl_platform to
avoid possible scope trouble.
-rw-r--r--ChangeLog5
-rw-r--r--library/word.tcl4
2 files changed, 7 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index 742d344..6ecca75 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2002-10-31 Andreas Kupries <andreask@activestate.com>
+
+ * library/word.tcl: Changed $tcl_platform to $::tcl_platform to
+ avoid possible scope trouble.
+
2002-10-29 Vince Darley <vincentdarley@users.sourceforge.net>
* win/tclWinInt.h:
diff --git a/library/word.tcl b/library/word.tcl
index 7d85de0..edcb93a 100644
--- a/library/word.tcl
+++ b/library/word.tcl
@@ -10,12 +10,12 @@
# See the file "license.terms" for information on usage and redistribution
# of this file, and for a DISCLAIMER OF ALL WARRANTIES.
#
-# RCS: @(#) $Id: word.tcl,v 1.6 2000/01/21 02:25:38 hobbs Exp $
+# RCS: @(#) $Id: word.tcl,v 1.7 2002/11/01 00:28:51 andreas_kupries Exp $
# The following variables are used to determine which characters are
# interpreted as white space.
-if {[string equal $tcl_platform(platform) "windows"]} {
+if {[string equal $::tcl_platform(platform) "windows"]} {
# Windows style - any but a unicode space char
set tcl_wordchars "\\S"
set tcl_nonwordchars "\\s"