summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xtkread1
1 files changed, 1 insertions, 0 deletions
diff --git a/tkread b/tkread
index 96e5f03..ab08cec 100755
--- a/tkread
+++ b/tkread
@@ -361,6 +361,7 @@ proc scaleImages {} {
global fontsize
global imgcache
global imgshrunk
+ global width
foreach img [.t image names] {
set charwidth [font measure "{$fontfamily} $fontsize" "0"]