repair for snip% change

Fixes a problem with 755377ca82.
This commit is contained in:
Matthew Flatt 2013-02-05 15:22:29 +01:00
parent d0cfc34a77
commit 6c58cde2aa

View File

@ -711,7 +711,7 @@
[maybe-box? [descent #f]] [maybe-box? [space #f]]
[maybe-box? [lspace #f]] [maybe-box? [rspace #f]])
(let* ([old-w str-metric]
[changed? (old-w . < . 0)])
[changed? (not old-w)])
(super get-extent dc ex ey wi h descent space lspace rspace)
(when changed?