Problem: Motif GUI: crash when setting menu colors. (Andrzej Bylicki)
Solution: Add {} to make "n" incremented correctly. (closes #6989,
closes #5948)
# endif
{
if (gui.menu_bg_pixel != INVALCOLOR)
+ {
XtSetArg(arg[0], XmNbackground, gui.menu_bg_pixel); n++;
+ }
if (gui.menu_fg_pixel != INVALCOLOR)
+ {
XtSetArg(arg[1], XmNforeground, gui.menu_fg_pixel); n++;
+ }
menu->submenu_id = XmCreatePopupMenu(textArea, "contextMenu",
arg, n);
menu->id = (Widget)0;
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1713,
/**/
1712,
/**/