diff options
author | xuri <xuri.me@gmail.com> | 2022-05-13 01:03:40 +0800 |
---|---|---|
committer | xuri <xuri.me@gmail.com> | 2022-05-13 01:03:40 +0800 |
commit | 0c3fd0223c784ddcc7d2442105b920587b970727 (patch) | |
tree | ed68a94d6d0c989d85ba60bf21aeb8c772c915de /sheet.go | |
parent | eed431e0fc2f61b13e7745857a41cb47d9f7f810 (diff) |
This closes #1225, allowing insert EMF format images
Diffstat (limited to 'sheet.go')
-rw-r--r-- | sheet.go | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -463,7 +463,7 @@ func (f *File) SetSheetBackground(sheet, picture string) error { if _, err = os.Stat(picture); os.IsNotExist(err) { return err } - ext, ok := supportImageTypes[path.Ext(picture)] + ext, ok := supportedImageTypes[path.Ext(picture)] if !ok { return ErrImgExt } |