@@ -2763,7 +2763,6 @@ func (f *Fpdf) MultiCell(w, h float64, txtStr, borderStr, alignStr string, fill
// /////////
// i = sep
//}
- i++
lines = append(lines, s[j:i])
if f.ws > 0 {
f.ws = 0
@@ -2776,6 +2775,7 @@ func (f *Fpdf) MultiCell(w, h float64, txtStr, borderStr, alignStr string, fill
}
//sep = -1
j = i
+ i++
l = 0
//ns = 0
nl++
@@ -53,10 +53,10 @@ func (f *Fpdf) SplitText(txt string, w float64) (lines []string) {
// //////////////
lines = append(lines, string(s[j:i]))
} else {
i++