summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authordgp <dgp@noemail.net>2004-02-17 20:39:51 (GMT)
committerdgp <dgp@noemail.net>2004-02-17 20:39:51 (GMT)
commit15105bfef9c611b5aed098aa8e1e8013514ef5a0 (patch)
treebbbd7cb122e3924806ff1610ca445ac8836a178e /tests
parentaa4222fdd3e7b6391f501eb7114ad9195ccf9ada (diff)
downloadtk-15105bfef9c611b5aed098aa8e1e8013514ef5a0.zip
tk-15105bfef9c611b5aed098aa8e1e8013514ef5a0.tar.gz
tk-15105bfef9c611b5aed098aa8e1e8013514ef5a0.tar.bz2
* tests/imgPhoto.test (imgPhoto-16.1): Corrected incorrect
variable name [Bug 899010]. FossilOrigin-Name: ed84c02a65631fed4d51ac487c4e41f4bb806cfb
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 fe8228d..9374b0f 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.17 2004/02/09 14:48:20 dkf Exp $
+# RCS: @(#) $Id: imgPhoto.test,v 1.18 2004/02/17 20:39:52 dgp Exp $
package require tcltest 2.1
eval tcltest::configure $argv
@@ -657,7 +657,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