Measure Pandoran font properly.
This commit is contained in:
parent
0be62d3810
commit
059ba3c540
|
@ -95,7 +95,7 @@ static void calculateMessageBoxHeight(MessageBox *msg)
|
||||||
{
|
{
|
||||||
limitTextWidth(575);
|
limitTextWidth(575);
|
||||||
|
|
||||||
msg->height = getWrappedTextHeight(msg->body, 18);
|
msg->height = getWrappedTextHeight(msg->body, (msg->type == MB_PANDORAN) ? 0 : 18);
|
||||||
|
|
||||||
limitTextWidth(0);
|
limitTextWidth(0);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue