diff options
| author | bulia byak <buliabyak@gmail.com> | 2009-09-05 22:01:24 +0000 |
|---|---|---|
| committer | buliabyak <buliabyak@users.sourceforge.net> | 2009-09-05 22:01:24 +0000 |
| commit | 9f4c787cd772c585ffa7be104bffc8ee62114728 (patch) | |
| tree | 35ad94e63234b1309f4e2f951fd65045a3e9f1ab /src/ui/dialog/print.cpp | |
| parent | update (diff) | |
| download | inkscape-9f4c787cd772c585ffa7be104bffc8ee62114728.tar.gz inkscape-9f4c787cd772c585ffa7be104bffc8ee62114728.zip | |
patch by Adrian Johnson for 166678
(bzr r8561)
Diffstat (limited to 'src/ui/dialog/print.cpp')
| -rw-r--r-- | src/ui/dialog/print.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ui/dialog/print.cpp b/src/ui/dialog/print.cpp index d98d6a49e..f9db265d6 100644 --- a/src/ui/dialog/print.cpp +++ b/src/ui/dialog/print.cpp @@ -189,7 +189,7 @@ Print::Print(SPDocument *doc, SPItem *base) : gdouble doc_width = sp_document_width(_doc) * PT_PER_PX; gdouble doc_height = sp_document_height(_doc) * PT_PER_PX; GtkPaperSize *paper_size; - if (sp_document_landscape(_doc)) { + if (doc_width > doc_height) { gtk_page_setup_set_orientation (page_setup, GTK_PAGE_ORIENTATION_LANDSCAPE); paper_size = gtk_paper_size_new_custom("custom", "custom", doc_height, doc_width, GTK_UNIT_POINTS); |
