Skip to content

Commit

Permalink
merge maybeaddcol
Browse files Browse the repository at this point in the history
  • Loading branch information
rentiansheng committed May 2, 2018
2 parents d5bb272 + f472a53 commit 0d24a1d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sheet.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (s *Sheet) AddRow() *Row {
func (s *Sheet) maybeAddCol(cellCount int) {
if cellCount > s.MaxCol {
loopCnt := cellCount - s.MaxCol
currIndex := s.MaxCol
currIndex := s.MaxCol + 1
for i := 0; i < loopCnt; i++ {

col := &Col{
Expand Down

0 comments on commit 0d24a1d

Please sign in to comment.