diff options
author | Kurt Jung <kurt.w.jung@code.google.com> | 2013-11-07 21:15:19 -0500 |
---|---|---|
committer | Kurt Jung <kurt.w.jung@code.google.com> | 2013-11-07 21:15:19 -0500 |
commit | 18a535033a6b0b584b7fb1bb6a21a7c980207aa4 (patch) | |
tree | 6b2681c9a12b6eea39c4af8da56397aad41a0cc9 | |
parent | c99f8c8fbf0124fcd2f509132edad09349aa3710 (diff) |
Removed unnecessary code from image cataloging loop.
-rw-r--r-- | fpdf.go | 5 |
1 files changed, 1 insertions, 4 deletions
@@ -2651,11 +2651,8 @@ func (f *Fpdf) putfonts() { } func (f *Fpdf) putimages() { - for fileStr, img := range f.images { + for _, img := range f.images { f.putimage(img) - img.data = img.data[0:0] - img.smask = img.smask[0:0] - f.images[fileStr] = img } } |