diff options
| author | Ri Xu <xuri.me@gmail.com> | 2018-04-08 10:31:11 +0800 |
|---|---|---|
| committer | Ri Xu <xuri.me@gmail.com> | 2018-04-08 10:31:11 +0800 |
| commit | 564ebe48dd660347c7ac5cdebe3395e4a085f19b (patch) | |
| tree | f83770df0cdead6d540b655bf3b960b44f75f27a /cell.go | |
| parent | a6fc5a721dfcb4974342603ebff8a4032c58a797 (diff) | |
- Fix `checkCellInArea()` index out of range when merged cell ref is single coordinate, relate issue #206;
- go test updated;
- Repository icon for SourceTree has been added
Diffstat (limited to 'cell.go')
| -rw-r--r-- | cell.go | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -532,6 +532,10 @@ func checkCellInArea(cell, area string) bool { area = strings.ToUpper(area) ref := strings.Split(area, ":") + if len(ref) < 2 { + return false + } + from := ref[0] to := ref[1] |
