aboutsummaryrefslogtreecommitdiffstats
path: root/src/w32menu.c
diff options
context:
space:
mode:
authorMiles Bader2007-10-19 00:00:21 +0000
committerMiles Bader2007-10-19 00:00:21 +0000
commit9c8020a8df03dc67a56d7df15664dcf7ace54bf0 (patch)
tree09b0646addff3c39f9e96ba89c04bdcc038a87a7 /src/w32menu.c
parentdfc3268dfa133a2e0a677f1af7c1ee548eae065d (diff)
parentbd3164743080f3eb5fc316aca7cc5322ca58fe33 (diff)
downloademacs-9c8020a8df03dc67a56d7df15664dcf7ace54bf0.tar.gz
emacs-9c8020a8df03dc67a56d7df15664dcf7ace54bf0.zip
Merge from emacs--devo--0
Patches applied: * emacs--devo--0 (patch 890-898) - Update from CVS - Merge from emacs--rel--22 * emacs--rel--22 (patch 122-128) - Update from CVS - Merge from gnus--rel--5.10 * gnus--rel--5.10 (patch 257-258) - Merge from emacs--rel--22 - Update from CVS Revision: emacs@sv.gnu.org/emacs--unicode--0--patch-270
Diffstat (limited to 'src/w32menu.c')
-rw-r--r--src/w32menu.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/w32menu.c b/src/w32menu.c
index 986832b3e7c..c570385c3bb 100644
--- a/src/w32menu.c
+++ b/src/w32menu.c
@@ -568,10 +568,10 @@ list_of_panes (menu)
568 568
569 init_menu_items (); 569 init_menu_items ();
570 570
571 for (tail = menu; !NILP (tail); tail = Fcdr (tail)) 571 for (tail = menu; CONSP (tail); tail = XCDR (tail))
572 { 572 {
573 Lisp_Object elt, pane_name, pane_data; 573 Lisp_Object elt, pane_name, pane_data;
574 elt = Fcar (tail); 574 elt = XCAR (tail);
575 pane_name = Fcar (elt); 575 pane_name = Fcar (elt);
576 CHECK_STRING (pane_name); 576 CHECK_STRING (pane_name);
577 push_menu_pane (pane_name, Qnil); 577 push_menu_pane (pane_name, Qnil);
@@ -591,9 +591,9 @@ list_of_items (pane)
591{ 591{
592 Lisp_Object tail, item, item1; 592 Lisp_Object tail, item, item1;
593 593
594 for (tail = pane; !NILP (tail); tail = Fcdr (tail)) 594 for (tail = pane; CONSP (tail); tail = XCDR (tail))
595 { 595 {
596 item = Fcar (tail); 596 item = XCAR (tail);
597 if (STRINGP (item)) 597 if (STRINGP (item))
598 push_menu_item (item, Qnil, Qnil, Qt, Qnil, Qnil, Qnil, Qnil); 598 push_menu_item (item, Qnil, Qnil, Qt, Qnil, Qnil, Qnil, Qnil);
599 else if (NILP (item)) 599 else if (NILP (item))