unbreak DrRacket

(cherry picked from commit 704c320131)
This commit is contained in:
Matthew Flatt 2012-03-26 06:33:37 -06:00 committed by Eli Barzilay
parent e6cf45ef64
commit a5656fb3a8

View File

@ -132,7 +132,9 @@
[(currently-the-weekend?)
weekend-bitmap-spec]
[else normal-bitmap-spec]))
(define the-splash-bitmap (read-bitmap the-bitmap-spec))
(define the-splash-bitmap (if (path? the-bitmap-spec)
(read-bitmap the-bitmap-spec)
the-bitmap-spec))
(set-splash-char-observer drracket-splash-char-observer)
(when (eq? (system-type) 'macosx)