Skip to content

Commit 9ba4ea4

Browse files
committed
Fixed pdf landscape bug.
1 parent e31819c commit 9ba4ea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/paps.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -452,7 +452,7 @@ int main(int argc, char *argv[])
452452
/* Swap width and height for landscape except for postscript */
453453
surface_page_width = page_width;
454454
surface_page_height = page_height;
455-
if (output_format != FORMAT_POSTSCRIPT && page_layout.do_landscape)
455+
if (output_format != FORMAT_POSTSCRIPT && do_landscape)
456456
{
457457
surface_page_width = page_height;
458458
surface_page_height = page_width;

0 commit comments

Comments
 (0)