From daa7456f9c7a3166c5195831dffcca8412e5e5a6 Mon Sep 17 00:00:00 2001 From: Kurt Jung Date: Tue, 6 Aug 2013 19:29:15 -0400 Subject: Corrected bottom border bug in MultiCell() --- fpdf.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'fpdf.go') diff --git a/fpdf.go b/fpdf.go index 9c6327b..c7e6806 100644 --- a/fpdf.go +++ b/fpdf.go @@ -1179,7 +1179,7 @@ func (f *Fpdf) MultiCell(w, h float64, txtStr, borderStr, alignStr string, fill f.ws = 0 f.out("0 Tw") } - if len(borderStr) > 0 && !strings.Contains(borderStr, "B") { + if len(borderStr) > 0 && strings.Contains(borderStr, "B") { b += "B" } f.CellFormat(w, h, s[j:i], b, 2, alignStr, fill, 0, "") -- cgit v1.2.1-24-ge1ad