Small fix for wrc

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 




ChangeLog: * avoid a crash in wrc if a dialog's style is missing
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;
 		}

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux