Small fix for wrc
Mike McCormack
mike at codeweavers.com
Fri Jan 2 07:21:09 CST 2004
ChangeLog:
* avoid a crash in wrc if a dialog's style is missing
-------------- next part --------------
Index: tools/wrc/parser.y
===================================================================
RCS file: /home/wine/wine/tools/wrc/parser.y,v
retrieving revision 1.41
diff -u -r1.41 parser.y
--- tools/wrc/parser.y 14 Oct 2003 01:19:27 -0000 1.41
+++ tools/wrc/parser.y 2 Jan 2004 13:18:12 -0000
@@ -829,6 +829,7 @@
$$ = $10;
if(!$$->gotstyle)
{
+ $$->style = new_style(0,0);
$$->style->or_mask = WS_POPUP;
$$->gotstyle = TRUE;
}
More information about the wine-patches
mailing list