summaryrefslogtreecommitdiffstats
path: root/tests/imgPNG.test
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2020-06-23 19:46:58 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2020-06-23 19:46:58 (GMT)
commit0fdcaa049e07325d3f3890235edd399fcd238311 (patch)
tree08086ba0fc4f1b288f59616020618d250d9d2918 /tests/imgPNG.test
parent66ac6b6c7081489c23289749ded3ba20919f1ea0 (diff)
downloadtk-0fdcaa049e07325d3f3890235edd399fcd238311.zip
tk-0fdcaa049e07325d3f3890235edd399fcd238311.tar.gz
tk-0fdcaa049e07325d3f3890235edd399fcd238311.tar.bz2
TIP529 image metadata: make compile on MS-VC6
Diffstat (limited to 'tests/imgPNG.test')
-rw-r--r--tests/imgPNG.test4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/imgPNG.test b/tests/imgPNG.test
index 4bd9d2a..a95ffce 100644
--- a/tests/imgPNG.test
+++ b/tests/imgPNG.test
@@ -1141,9 +1141,9 @@ test imgPNG-4.2 {file image with metadata} -setup {
test imgPNG-4.3 {data output with metadata} -setup {
image create photo i1 -data $encoded(dpi100aspect2)
} -body {
- set data [i1 data -format png]
+ set imgData [i1 data -format png]
image delete i1
- image create photo i1 -data $data
+ image create photo i1 -data $imgData
i1 cget -metadata
} -cleanup {
image delete i1