allow styles to be #f

original commit: f5c6d81262702aba29dd51eaebd620fcb61ba690
This commit is contained in:
Robby Findler 1997-08-26 15:55:39 +00:00
parent 229bb38d48
commit 0314fa7035

View File

@ -170,9 +170,11 @@
(set-mode-direct m)
(set-file-format (ivar m file-format))
(send m install this)
(send (send (get-style-list)
find-named-style "Standard")
set-delta (ivar m standard-style-delta)))
(let ([new-delta (ivar m standard-style-delta)])
(when new-delta
(send (send (get-style-list)
find-named-style "Standard")
set-delta new-delta))))
(begin
(set-mode-direct #f)
(send (send (get-style-list)