racket/gui/init: fix load handler
(cherry picked from commit b111241afe
)
This commit is contained in:
parent
66f5696400
commit
a0f7f72780
|
@ -327,8 +327,8 @@
|
|||
(values (open-input-text-editor t 0 'end values filename) #t))]
|
||||
[else (values p #f)]))
|
||||
(when changed?
|
||||
(port-count-lines! p)) ; in case it's new
|
||||
(values p filename changed?)))
|
||||
(port-count-lines! new-p)) ; in case it's new
|
||||
(values new-p filename changed?)))
|
||||
|
||||
(define (open-input-graphical-file filename)
|
||||
(let-values ([(p name wxme?) (build-input-port filename)])
|
||||
|
|
Loading…
Reference in New Issue
Block a user