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