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;
|
||||
if(!$$->gotstyle)
|
||||
{
|
||||
$$->style = new_style(0,0);
|
||||
$$->style->or_mask = WS_POPUP;
|
||||
$$->gotstyle = TRUE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue