summaryrefslogtreecommitdiff
path: root/cell.go
diff options
context:
space:
mode:
Diffstat (limited to 'cell.go')
-rw-r--r--cell.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/cell.go b/cell.go
index 4dd2830..3e63565 100644
--- a/cell.go
+++ b/cell.go
@@ -93,7 +93,7 @@ func (f *File) SetCellValue(sheet, axis string, value interface{}) error {
case bool:
err = f.SetCellBool(sheet, axis, v)
case nil:
- err = f.SetCellStr(sheet, axis, "")
+ break
default:
err = f.SetCellStr(sheet, axis, fmt.Sprint(value))
}