diff options
| author | Miles Bader | 2004-09-09 09:36:36 +0000 |
|---|---|---|
| committer | Miles Bader | 2004-09-09 09:36:36 +0000 |
| commit | a37d67ddadebe7cbcf6d5c5d2f5f4004797a32eb (patch) | |
| tree | 06645beecd1ea81b98569d82ee5d486a95c3497f /src/xmenu.c | |
| parent | dd6ab82fb5c85168043306deda1fa5a5010183c6 (diff) | |
| parent | 6cb4a8923202a1f00fcbd2f7e3b8e0ee9e9bd3f4 (diff) | |
| download | emacs-a37d67ddadebe7cbcf6d5c5d2f5f4004797a32eb.tar.gz emacs-a37d67ddadebe7cbcf6d5c5d2f5f4004797a32eb.zip | |
Revision: miles@gnu.org--gnu-2004/emacs--unicode--0--patch-36
Merge from emacs--cvs-trunk--0, emacs--gnus--5.10, gnus--rel--5.10
Patches applied:
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-523
Merge from emacs--gnus--5.10, gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-524
- miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-534
Update from CVS
* miles@gnu.org--gnu-2004/emacs--gnus--5.10--base-0
tag of miles@gnu.org--gnu-2004/emacs--cvs-trunk--0--patch-464
* miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-1
Import from CVS branch gnus-5_10-branch
* miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-2
Merge from lorentey@elte.hu--2004/emacs--multi-tty--0, emacs--cvs-trunk--0
* miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-3
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/emacs--gnus--5.10--patch-4
Merge from gnus--rel--5.10
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-18
Update from CVS
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-19
Remove autoconf-generated files from archive
* miles@gnu.org--gnu-2004/gnus--rel--5.10--patch-20
Update from CVS
Diffstat (limited to 'src/xmenu.c')
| -rw-r--r-- | src/xmenu.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/xmenu.c b/src/xmenu.c index eddda3ef91b..040bb6df622 100644 --- a/src/xmenu.c +++ b/src/xmenu.c | |||
| @@ -1,5 +1,5 @@ | |||
| 1 | /* X Communication module for terminals which understand the X protocol. | 1 | /* X Communication module for terminals which understand the X protocol. |
| 2 | Copyright (C) 1986, 88, 93, 94, 96, 99, 2000, 2001, 2003 | 2 | Copyright (C) 1986, 1988, 1993, 1994, 1996, 1999, 2000, 2001, 2003, 2004 |
| 3 | Free Software Foundation, Inc. | 3 | Free Software Foundation, Inc. |
| 4 | 4 | ||
| 5 | This file is part of GNU Emacs. | 5 | This file is part of GNU Emacs. |
| @@ -1801,7 +1801,7 @@ update_submenu_strings (first_wv) | |||
| 1801 | 1801 | ||
| 1802 | for (wv = first_wv; wv; wv = wv->next) | 1802 | for (wv = first_wv; wv; wv = wv->next) |
| 1803 | { | 1803 | { |
| 1804 | if (wv->lname && ! NILP (wv->lname)) | 1804 | if (STRINGP (wv->lname)) |
| 1805 | { | 1805 | { |
| 1806 | wv->name = SDATA (wv->lname); | 1806 | wv->name = SDATA (wv->lname); |
| 1807 | 1807 | ||
| @@ -1815,7 +1815,7 @@ update_submenu_strings (first_wv) | |||
| 1815 | } | 1815 | } |
| 1816 | } | 1816 | } |
| 1817 | 1817 | ||
| 1818 | if (wv->lkey && ! NILP (wv->lkey)) | 1818 | if (STRINGP (wv->lkey)) |
| 1819 | wv->key = SDATA (wv->lkey); | 1819 | wv->key = SDATA (wv->lkey); |
| 1820 | 1820 | ||
| 1821 | if (wv->contents) | 1821 | if (wv->contents) |
| @@ -1888,7 +1888,7 @@ set_frame_menubar (f, first_time, deep_p) | |||
| 1888 | #endif | 1888 | #endif |
| 1889 | Lisp_Object items; | 1889 | Lisp_Object items; |
| 1890 | widget_value *wv, *first_wv, *prev_wv = 0; | 1890 | widget_value *wv, *first_wv, *prev_wv = 0; |
| 1891 | int i, last_i; | 1891 | int i, last_i = 0; |
| 1892 | int *submenu_start, *submenu_end; | 1892 | int *submenu_start, *submenu_end; |
| 1893 | int *submenu_top_level_items, *submenu_n_panes; | 1893 | int *submenu_top_level_items, *submenu_n_panes; |
| 1894 | 1894 | ||