summaryrefslogtreecommitdiff
path: root/excelize.go
diff options
context:
space:
mode:
authorRi Xu <xuri.me@gmail.com>2017-06-12 18:05:09 +0800
committerRi Xu <xuri.me@gmail.com>2017-06-12 18:05:09 +0800
commitefff54ccde5b7f0a62bccbeab557e23e5e89970b (patch)
tree4d75da3bb9c43da1186d076feaa725b0bd70ae38 /excelize.go
parentc89d84235238f1e2a37b03551ca6ef652c2f3769 (diff)
- Fixed coordinate parse error in function `SetCellStyle()`, relate issue #60;
- Simplified code
Diffstat (limited to 'excelize.go')
-rw-r--r--excelize.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/excelize.go b/excelize.go
index fa9c004..39c2fad 100644
--- a/excelize.go
+++ b/excelize.go
@@ -210,7 +210,7 @@ func (f *File) SetCellDefault(sheet, axis, value string) {
}
// Completion column element tags of XML in a sheet.
-func completeCol(xlsx *xlsxWorksheet, row int, cell int) {
+func completeCol(xlsx *xlsxWorksheet, row, cell int) {
if len(xlsx.SheetData.Row) < cell {
for i := len(xlsx.SheetData.Row); i < cell; i++ {
xlsx.SheetData.Row = append(xlsx.SheetData.Row, xlsxRow{