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