diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2013-08-06 19:29:15 -0400 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2013-08-06 19:29:15 -0400 |
commit | daa7456f9c7a3166c5195831dffcca8412e5e5a6 (patch) | |
tree | 550ff6b329bd2d4dda926d4209b569a58a2ee721 | |
parent | 22e102340d9b7e5d0ded8e16a407acd34f5a1c50 (diff) |
Corrected bottom border bug in MultiCell()
-rw-r--r-- | .hgignore | 1 | ||||
-rw-r--r-- | fpdf.go | 2 |
2 files changed, 2 insertions, 1 deletions
@@ -1,3 +1,4 @@ syntax: glob makefont/makefont pdf/*.pdf +look @@ -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, "") |