mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 399692 Restore null-check accidentally removed by bug 399376 r+sr+a=roc
This commit is contained in:
parent
def7c7547d
commit
1507d5687b
@ -2433,7 +2433,10 @@ nsTreeBodyFrame::CalcHorzWidth(const ScrollParts& aParts)
|
||||
{
|
||||
// Compute the adjustment to the last column. This varies depending on the
|
||||
// visibility of the columnpicker and the scrollbar.
|
||||
mAdjustWidth = mRect.width - aParts.mColumnsFrame->GetRect().width;
|
||||
if (aParts.mColumnsFrame)
|
||||
mAdjustWidth = mRect.width - aParts.mColumnsFrame->GetRect().width;
|
||||
else
|
||||
mAdjustWidth = 0;
|
||||
|
||||
nscoord width = 0;
|
||||
nscoord height;
|
||||
|
Loading…
Reference in New Issue
Block a user