mirror of
https://github.com/unidoc/unipdf.git
synced 2025-05-01 22:17:29 +08:00
go vet fix
This commit is contained in:
parent
527b1f057b
commit
a07f25550d
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user