diff options
author | Paul Montag <pmontag@iseeme.com> | 2018-11-08 14:37:57 -0600 |
---|---|---|
committer | Paul Montag <pmontag@iseeme.com> | 2018-11-08 14:37:57 -0600 |
commit | 2253c0aa4a1566727231123793a2eda56c571c8f (patch) | |
tree | 704baa5f18d88418157e57595f6b0d9b44765176 | |
parent | 91898b5ca557dbf88649ee45b12a484d3780b05f (diff) |
Fixed a stupid bug
-rw-r--r-- | fpdf.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -359,7 +359,7 @@ func (f *Fpdf) SetPageBox(t string, pb PageBox) { case "artbox": t = "ArtBox" default: - f.err = fmt.Sprintf("%s is not a valid page box type") + f.err = fmt.Errorf("%s is not a valid page box type", t) return } |