adjust the wrap-bitmap-width field to always have an inexact number
original commit: 00a7eaca2c1fd527ebcf148151178bf208c37d0d
This commit is contained in:
parent
479772fbbb
commit
7f29cd1273
|
@ -4945,8 +4945,8 @@
|
||||||
|
|
||||||
(set! auto-wrap-bitmap bm)
|
(set! auto-wrap-bitmap bm)
|
||||||
(if auto-wrap-bitmap
|
(if auto-wrap-bitmap
|
||||||
(set! wrap-bitmap-width (send auto-wrap-bitmap get-width))
|
(set! wrap-bitmap-width (exact->inexact (send auto-wrap-bitmap get-width)))
|
||||||
(set! wrap-bitmap-width 0))
|
(set! wrap-bitmap-width 0.0))
|
||||||
|
|
||||||
(when (max-width . > . 0)
|
(when (max-width . > . 0)
|
||||||
(set-max-width (+ max-width old-width)))
|
(set-max-width (+ max-width old-width)))
|
||||||
|
|
Loading…
Reference in New Issue
Block a user