One last null pointer deref slipped through ;)
This commit is contained in:
parent
fe557bca1d
commit
e903d8cb0f
|
@ -725,7 +725,8 @@ void Window::setContents(Bitmap *value)
|
|||
{
|
||||
GUARD_DISPOSED;
|
||||
|
||||
value->ensureNonMega();
|
||||
if (value)
|
||||
value->ensureNonMega();
|
||||
|
||||
p->contents = value;
|
||||
p->controlsVertDirty = true;
|
||||
|
|
Loading…
Reference in New Issue