Skip to content

Commit

Permalink
tests/landscape.expected created and other changes requested were made
Browse files Browse the repository at this point in the history
  • Loading branch information
jodros committed Oct 18, 2023
1 parent 24fa14d commit 3f95084
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2,072 deletions.
2 changes: 1 addition & 1 deletion core/papersize.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ setmetatable(papersize, {
else
size = string.lower(size:gsub("[-%s]+", ""))
if self[size] then
if landscape then
if SU.boolean(landscape) then
self[size][1], self[size][2] = self[size][2], self[size][1]
end
return self[size]
Expand Down
Loading

0 comments on commit 3f95084

Please sign in to comment.