diff options
-rw-r--r-- | fpdf.go | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1216,8 +1216,8 @@ func (f *Fpdf) AddFont(familyStr, styleStr, fileStr string) { } } if n < 0 { - n = len(f.diffs) + 1 - f.diffs[n] = info.Diff + f.diffs = append(f.diffs, info.Diff) + n = len(f.diffs) } info.DiffN = n } |