GRAPHICS: MACGUI: Sanity check for empty lines
This commit is contained in:
parent
40cb3b8f92
commit
97abe323c4
1 changed files with 1 additions and 1 deletions
|
@ -392,7 +392,7 @@ int MacText::getLineWidth(int line, bool enforce) {
|
|||
}
|
||||
|
||||
if (!hastext)
|
||||
height -= 3;
|
||||
height = height > 3 ? height - 3 : 0;
|
||||
|
||||
_textLines[line].width = width;
|
||||
_textLines[line].height = height;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue