go vet fix

This commit is contained in:
Gunnsteinn Hall 2018-07-26 13:15:58 +00:00
parent 527b1f057b
commit a07f25550d

View File

@ -189,7 +189,7 @@ func (c *Creator) newPage() *model.PdfPage {
width := c.pagesize[0] width := c.pagesize[0]
height := c.pagesize[1] 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 page.MediaBox = &bbox
c.pageWidth = width c.pageWidth = width