From 78eb3e83b9728da4bc9743c811692fd31afed8ee Mon Sep 17 00:00:00 2001 From: Matthew Butterick Date: Tue, 7 May 2019 17:34:00 -0700 Subject: [PATCH] fix case --- quad/quadwriter/lang-helper.rkt | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/quad/quadwriter/lang-helper.rkt b/quad/quadwriter/lang-helper.rkt index 763c04c0..538ac2e8 100644 --- a/quad/quadwriter/lang-helper.rkt +++ b/quad/quadwriter/lang-helper.rkt @@ -36,9 +36,9 @@ (define (VIEW-RESULT) (define open-string (case (system-type 'os) - ['macosx "open ~a"] - ['windows "start ~a"] - ['unix "xdg-open ~a &> /dev/null"] + [(macosx) "open ~a"] + [(windows) "start ~a"] + [(unix) "xdg-open ~a &> /dev/null"] [else (error "Don't know how to open PDF file.")])) (when (file-exists? pdf-path) (void (system (format open-string pdf-path)))))