Permalink
Browse files

ensure exported file name ends with ".pdf".

  • Loading branch information...
1 parent b6a08ee commit 6050e5deeba4791d0aa5978bed0a53e68da1c996 @fukamachi committed Jan 7, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 src/L5.clj
View
@@ -82,7 +82,7 @@
(go 0)
(slide/fullscreen-off (context))
(.setSize @(:frame (context)) (:width (context)) (:height (context)))
- (export/jframe->pdf output (context))
+ (export/jframe->pdf (file/ensure-file-ext output ["pdf"]) (context))
(go 0))
(defn start

0 comments on commit 6050e5d

Please sign in to comment.