summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp@users.sourceforge.net <dgp>2004-02-17 20:40:40 (GMT)
committerdgp@users.sourceforge.net <dgp>2004-02-17 20:40:40 (GMT)
commit9318c9ce37d744efde56772e7709b472a82ec65b (patch)
tree6626378d6d0fedc440547c74accee0a1515c69eb /tests
parent4b494688ca96b4b23fe9a3fa873ba9ff98f31de7 (diff)
downloadtk-9318c9ce37d744efde56772e7709b472a82ec65b.zip
tk-9318c9ce37d744efde56772e7709b472a82ec65b.tar.gz
tk-9318c9ce37d744efde56772e7709b472a82ec65b.tar.bz2
* tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrect
variable name [Bug 899010].
Diffstat (limited to 'tests')
-rw-r--r--tests/imgPhoto.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/imgPhoto.test b/tests/imgPhoto.test
index 72724d3..b568477 100644
--- a/tests/imgPhoto.test
+++ b/tests/imgPhoto.test
@@ -9,7 +9,7 @@
#
# Author: Paul Mackerras (paulus@cs.anu.edu.au)
#
-# RCS: @(#) $Id: imgPhoto.test,v 1.15.2.1 2004/02/09 14:40:31 dkf Exp $
+# RCS: @(#) $Id: imgPhoto.test,v 1.15.2.2 2004/02/17 20:40:41 dgp Exp $
package require tcltest 2.1
namespace import -force tcltest::configure
@@ -663,7 +663,7 @@ test imgPhoto-15.1 {photo images can fail to allocate memory gracefully} \
test imgPhoto-16.1 {copying to self doesn't access freed memory} {
# Bug 877950 makes this crash when trying to copy out of a deallocated area
- set photo [image create photo]
+ set i [image create photo]
$i put red -to 0 0 1000 1000
$i copy $i -from 0 0 1000 1000 -to 500 0
image delete $i