fix get-default-print-size n landscape mode
svn: r16942 original commit: fbf7f79d8c16046f10a0fcf612ef376d37d1d46d
This commit is contained in:
parent
4d5dc77595
commit
cb51783238
|
@ -97,9 +97,9 @@
|
|||
(set-box! w PAGE-WIDTH)
|
||||
(set-box! h PAGE-HEIGHT)
|
||||
(when (eq? (get-printer-orientation) 'landscape)
|
||||
(let ([tmp h])
|
||||
(set! h w)
|
||||
(set! w tmp))))
|
||||
(let ([tmp (unbox h)])
|
||||
(set-box! h (unbox w))
|
||||
(set-box! w tmp))))
|
||||
|
||||
;; ----------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user