Mercurial > hg > xemacs-beta
changeset 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 | a81c56d10bdd |
children | a61bf7b32988 |
files | lwlib/ChangeLog lwlib/xlwmenu.c |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/lwlib/ChangeLog Wed Dec 21 22:50:46 2005 +0000 +++ b/lwlib/ChangeLog Thu Dec 22 13:58:16 2005 +0000 @@ -1,3 +1,7 @@ +2005-12-21 Andrey Slusar <anrays@gmail.com> + + * xlwmenu.c (make_drawing_gcs): Fix build with gcc 2.95. + 2005-12-18 Stephen J. Turnbull <stephen@xemacs.org> * XEmacs 21.5.24 "dandelion" is released.
--- 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;