fix another bug introduced in efd2683301

This commit is contained in:
Robby Findler 2013-08-28 11:37:54 -05:00
parent abc7f9a873
commit 90e9e5cb30

View File

@ -617,7 +617,7 @@
(begin
(message-box (string-constant drscheme)
(format (string-constant already-added-teachpack)
(cadr teachpack))
(tp-require->str teachpack))
#:dialog-mixin frame:focus-table-mixin)
settings)
@ -634,7 +634,7 @@
new-tps))))
settings)))
(λ (settings name)
(let ([new-tps (filter (λ (x) (not (equal? (cadr x) name)))
(let ([new-tps (filter (λ (x) (not (equal? (tp-require->str x) name)))
(htdp-lang-settings-teachpacks settings))])
(preferences:set 'drracket:htdp:last-set-teachpacks new-tps)
(make-htdp-lang-settings