summaryrefslogtreecommitdiff
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorKarl Heuer <kwzh@gnu.org>1994-10-04 19:49:16 +0000
committerKarl Heuer <kwzh@gnu.org>1994-10-04 19:49:16 +0000
commit21ddae87133c1ffdb43aa77adf081cbb60c1fcfa (patch)
tree6232b8d227f942d84ba8294d82e13f823b3dc9c1 /src/xmenu.c
parent68eb6cfbc6d5a2c2a7ae5726018daa57b8330a9c (diff)
downloademacs-21ddae87133c1ffdb43aa77adf081cbb60c1fcfa.tar.gz
(single_keymap_panes, Fx_popup_menu): Don't use XFASTINT as an lvalue.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index 4a06c2c1b8d..4e87f706044 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -536,7 +536,7 @@ single_keymap_panes (keymap, pane_name, prefix, notreal)
for (c = 0; c < len; c++)
{
Lisp_Object character;
- XFASTINT (character) = c;
+ XSETFASTINT (character, c);
item1 = XVECTOR (item)->contents[c];
if (CONSP (item1))
{
@@ -731,8 +731,8 @@ cached information about equivalent key sequences.")
else
{
window = selected_window;
- XFASTINT (x) = 0;
- XFASTINT (y) = 0;
+ XSETFASTINT (x, 0);
+ XSETFASTINT (y, 0);
}
}
else