summaryrefslogtreecommitdiff
path: root/col.go
diff options
context:
space:
mode:
Diffstat (limited to 'col.go')
-rw-r--r--col.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/col.go b/col.go
index 637f6e0..5fc7461 100644
--- a/col.go
+++ b/col.go
@@ -275,8 +275,8 @@ func (f *File) positionObjectPixels(sheet string, col, row, x1, y1, width, heigh
// Subtract the underlying cell heights to find end cell of the object.
for height >= f.getRowHeight(sheet, rowEnd) {
- rowEnd++
height -= f.getRowHeight(sheet, rowEnd)
+ rowEnd++
}
// The end vertices are whatever is left from the width and height.