original commit: 1da56edf3e0ec7342adc10407c83e4b698fc7707
This commit is contained in:
Robby Findler 1999-06-03 18:41:48 +00:00
parent 8f53a0ad16
commit 4e263e7d8f

View File

@ -74,7 +74,11 @@
(cond (cond
[(null? rectangles) [(null? rectangles)
(when left (when left
(invalidate-bitmap-cache left top (- right left) (- bottom top)))] (let ([width (- right left)]
[height (- bottom top)])
(when (and (> width 0)
(> height 0))
(invalidate-bitmap-cache left top width height))))]
[else (let* ([r (car rectangles)] [else (let* ([r (car rectangles)]
[rleft (rectangle-left r)] [rleft (rectangle-left r)]