Fix read columns count wrong in specific xlsx data, relate issue #175

formula
Ri Xu 7 years ago
parent 52b1a8e896
commit 6dc135a992
No known key found for this signature in database
GPG Key ID: BA5E5BB1C948EDF7

@ -277,7 +277,7 @@ func checkRow(xlsx *xlsxWorksheet) {
oldRow := xlsx.SheetData.Row[k].C
xlsx.SheetData.Row[k].C = xlsx.SheetData.Row[k].C[:0]
tmp := []xlsxC{}
for i := 0; i <= endCol; i++ {
for i := 0; i < endCol; i++ {
buffer.WriteString(ToAlphaString(i))
buffer.WriteString(strconv.Itoa(endRow))
tmp = append(tmp, xlsxC{

Loading…
Cancel
Save