Skip to content

Commit b206663

Browse files
committed
Revert "Merge pull request livecode#1148 from runrevsebastien/bugfix-13374"
This reverts commit 00b564c, reversing changes made to 264107f.
1 parent 49080e1 commit b206663

2 files changed

Lines changed: 8 additions & 13 deletions

File tree

docs/notes/bugfix-13374.md

Lines changed: 0 additions & 1 deletion
This file was deleted.

engine/src/fieldf.cpp

Lines changed: 8 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1021,18 +1021,14 @@ void MCField::drawrect(MCDC *dc, const MCRectangle &dirty)
10211021
{
10221022
setforeground(dc, DI_BORDER, False);
10231023

1024-
// SN-2014-09-10: [[ Bug 13374 ]] If the last line is hidden, the we take the field's lineheight.
1025-
if (pgheight == 0)
1026-
pgheight = fixedheight;
1027-
1028-
int32_t cy;
1029-
cy = y + pgheight;
1030-
while(cy < grect . y + grect . height)
1031-
{
1032-
if (y >= grect . y)
1033-
dc -> drawline(grect . x, cy, grect . x + grect . width, cy);
1034-
cy += pgheight;
1035-
}
1024+
int32_t cy;
1025+
cy = y + pgheight;
1026+
while(cy < grect . y + grect . height)
1027+
{
1028+
if (y >= grect . y)
1029+
dc -> drawline(grect . x, cy, grect . x + grect . width, cy);
1030+
cy += pgheight;
1031+
}
10361032
}
10371033

10381034
// MW-2012-03-15: [[ Bug 10069 ]] If we have vGrid set on the field, then render grid lines

0 commit comments

Comments
 (0)