aboutsummaryrefslogtreecommitdiffstats
path: root/src/xmenu.c
diff options
context:
space:
mode:
authorJim Blandy1993-02-22 15:09:33 +0000
committerJim Blandy1993-02-22 15:09:33 +0000
commitf1b2821874f1024a977c48eebc3fcc874505bbf5 (patch)
treefd428a9e43da11d3a902b3b22aa734568c92f652 /src/xmenu.c
parentf111a131b4734ce17e771e6a3cdba7ac145e7bea (diff)
downloademacs-f1b2821874f1024a977c48eebc3fcc874505bbf5.tar.gz
emacs-f1b2821874f1024a977c48eebc3fcc874505bbf5.zip
* minibuf.c (Fdisplay_completion_list): Pass the proper number of
arguments to Flength. * xmenu.c (list_of_items): Same.
Diffstat (limited to 'src/xmenu.c')
-rw-r--r--src/xmenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/xmenu.c b/src/xmenu.c
index e1c14da2f70..972c4333d38 100644
--- a/src/xmenu.c
+++ b/src/xmenu.c
@@ -653,7 +653,7 @@ list_of_items (vector, names, pane) /* get list from emacs and put to vector */
653 653
654 if (XTYPE (pane) != Lisp_Cons) pane = wrong_type_argument (Qlistp, pane); 654 if (XTYPE (pane) != Lisp_Cons) pane = wrong_type_argument (Qlistp, pane);
655 655
656 i = XFASTINT (Flength (pane, 1)); 656 i = XFASTINT (Flength (pane));
657 657
658 *vector = (Lisp_Object *) xmalloc (i * sizeof (Lisp_Object)); 658 *vector = (Lisp_Object *) xmalloc (i * sizeof (Lisp_Object));
659 *names = (char **) xmalloc (i * sizeof (char *)); 659 *names = (char **) xmalloc (i * sizeof (char *));