Commit 06113289 authored by Mike McCormack's avatar Mike McCormack Committed by Alexandre Julliard

Avoid a crash if the dialog style is missing.

parent 1694844d
...@@ -829,6 +829,7 @@ dialog : tDIALOG loadmemopts expr ',' expr ',' expr ',' expr dlg_attributes ...@@ -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;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment