Avoid a crash if the dialog style is missing.
This commit is contained in:
parent
1694844d2b
commit
06113289f9
@ -829,6 +829,7 @@ dialog : tDIALOG loadmemopts expr ',' expr ',' expr ',' expr dlg_attributes
|
|||||||
$$ = $10;
|
$$ = $10;
|
||||||
if(!$$->gotstyle)
|
if(!$$->gotstyle)
|
||||||
{
|
{
|
||||||
|
$$->style = new_style(0,0);
|
||||||
$$->style->or_mask = WS_POPUP;
|
$$->style->or_mask = WS_POPUP;
|
||||||
$$->gotstyle = TRUE;
|
$$->gotstyle = TRUE;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user