summaryrefslogtreecommitdiff
path: root/fpdf.go
diff options
context:
space:
mode:
Diffstat (limited to 'fpdf.go')
-rw-r--r--fpdf.go2
1 files changed, 1 insertions, 1 deletions
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, "")