summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--fpdf.go3
1 files changed, 3 insertions, 0 deletions
diff --git a/fpdf.go b/fpdf.go
index 0b2aa25..35496c2 100644
--- a/fpdf.go
+++ b/fpdf.go
@@ -2476,6 +2476,9 @@ func (f *Fpdf) SplitLines(txt []byte, w float64) [][]byte {
//
// h indicates the line height of each cell in the unit of measure specified in New().
func (f *Fpdf) MultiCell(w, h float64, txtStr, borderStr, alignStr string, fill bool) {
+ if f.err != nil {
+ return
+ }
// dbg("MultiCell")
if alignStr == "" {
alignStr = "J"