summaryrefslogtreecommitdiff
path: root/sheet.go
diff options
context:
space:
mode:
Diffstat (limited to 'sheet.go')
-rw-r--r--sheet.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/sheet.go b/sheet.go
index 3986cd8..4665fd9 100644
--- a/sheet.go
+++ b/sheet.go
@@ -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
}