Skip to content

Commit

Permalink
re-unbreak DrRacket
Browse files Browse the repository at this point in the history
(cherry picked from commit bef9e11)
  • Loading branch information
rfindler authored and elibarzilay committed Mar 26, 2012
1 parent a5656fb commit 0a3fcb2
Showing 1 changed file with 6 additions and 5 deletions.
11 changes: 6 additions & 5 deletions collects/drracket/private/drracket-normal.rkt
Original file line number Diff line number Diff line change
Expand Up @@ -132,10 +132,10 @@
[(currently-the-weekend?)
weekend-bitmap-spec]
[else normal-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)

(define the-splash-bitmap (and (path? the-bitmap-spec) (read-bitmap the-bitmap-spec)))
(when the-splash-bitmap
(set-splash-char-observer drracket-splash-char-observer))

(when (eq? (system-type) 'macosx)
(define initial-state (current-icon-state))
Expand Down Expand Up @@ -171,7 +171,8 @@
(set-icon next-state))
(loop next-state))))))

(start-splash the-splash-bitmap
(start-splash (or the-splash-bitmap
the-bitmap-spec)
"DrRacket"
700
#:allow-funny? #t
Expand Down

0 comments on commit 0a3fcb2

Please sign in to comment.