diff lwlib/xlwmenu.c @ 3157:44a63e4a23cd

[xemacs-hg @ 2005-12-22 13:58:15 by stephent] Don't use C99 features (declarations after code). <871x05mesn.fsf@tleepslib.sk.tsukuba.ac.jp>
author stephent
date Thu, 22 Dec 2005 13:58:16 +0000
parents ad2f4ae9895b
children 174eb4da74fb
line wrap: on
line diff
--- a/lwlib/xlwmenu.c	Wed Dec 21 22:50:46 2005 +0000
+++ b/lwlib/xlwmenu.c	Thu Dec 22 13:58:16 2005 +0000
@@ -2828,8 +2828,9 @@
 	  XColor xcolor;
 	  Visual *visual;
 	  int ignore;
+	  Colormap cmap;
 	  visual_info_from_widget ((Widget) mw, &visual, &ignore);
-	  Colormap cmap = mw->core.colormap;
+	  cmap = mw->core.colormap;
 	  xcolor.pixel = mw->core.background_pixel;
 	  XQueryColor (dpy, cmap, &xcolor);
 	  xcolor.red   = (xcolor.red   * 17) / 20;