Skip to content

Commit

Permalink
go vet fix
Browse files Browse the repository at this point in the history
  • Loading branch information
gunnsth committed Jul 26, 2018
1 parent 527b1f0 commit a07f255
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pdf/creator/creator.go
Original file line number Diff line number Diff line change
Expand Up @@ -189,7 +189,7 @@ func (c *Creator) newPage() *model.PdfPage {
width := c.pagesize[0]
height := c.pagesize[1]

bbox := model.PdfRectangle{0, 0, width, height}
bbox := model.PdfRectangle{Llx: 0, Lly: 0, Urx: width, Ury: height}
page.MediaBox = &bbox

c.pageWidth = width
Expand Down

0 comments on commit a07f255

Please sign in to comment.