summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorfvogel <fvogelnew1@free.fr>2023-11-14 04:44:32 (GMT)
committerfvogel <fvogelnew1@free.fr>2023-11-14 04:44:32 (GMT)
commit37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89 (patch)
treef760cddf3cb11893032ad3ee6c0f5ae9d3eaa867
parent29377ce482568009ea57aa8c29955df95e9c066a (diff)
downloadtk-37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89.zip
tk-37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89.tar.gz
tk-37887ffb2c8e05dd5c9f04ae5deb8e9e4cf6ce89.tar.bz2
Remove useless abs() in font-44.1
-rw-r--r--tests/font.test2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/font.test b/tests/font.test
index a1bf9b8..ece49d7 100644
--- a/tests/font.test
+++ b/tests/font.test
@@ -2349,7 +2349,7 @@ puts "font actual {times -12}: [font actual {times -12}]"
puts "oldsize: $oldsize"
tk scaling 0.5
puts "font actual {times -12}: [font actual {times -12}]"
- expr {abs(round([font actual {times -12} -size] / $oldscale * 0.5) - round($oldsize)) == 0}
+ expr {round([font actual {times -12} -size] / $oldscale * 0.5) - round($oldsize) == 0}
} -cleanup {
tk scaling $oldscale
} -result 1