(single_menu_item) [!HAVE_BOXES]: Enable emulation of toggle boxes and
radio buttons on MS-DOS as well.
This commit is contained in:
parent
7ced34de28
commit
dda8632194
2 changed files with 7 additions and 2 deletions
|
@ -1,3 +1,8 @@
|
|||
2008-09-05 Eli Zaretskii <eliz@gnu.org>
|
||||
|
||||
* menu.c (single_menu_item) [!HAVE_BOXES]: Enable emulation of
|
||||
toggle boxes and radio buttons on MS-DOS as well.
|
||||
|
||||
2008-09-05 Kenichi Handa <handa@m17n.org>
|
||||
|
||||
* composite.c (autocmp_chars): Check lookback count.
|
||||
|
|
|
@ -365,7 +365,7 @@ single_menu_item (key, item, dummy, skp_v)
|
|||
return;
|
||||
}
|
||||
|
||||
#ifdef HAVE_X_WINDOWS
|
||||
#if defined(HAVE_X_WINDOWS) || defined(MSDOS)
|
||||
#ifndef HAVE_BOXES
|
||||
/* Simulate radio buttons and toggle boxes by putting a prefix in
|
||||
front of them. */
|
||||
|
@ -435,7 +435,7 @@ single_menu_item (key, item, dummy, skp_v)
|
|||
item_string = concat2 (item_string, build_string (" >"));
|
||||
#endif
|
||||
|
||||
#endif /* HAVE_X_WINDOWS */
|
||||
#endif /* HAVE_X_WINDOWS || MSDOS */
|
||||
|
||||
push_menu_item (item_string, enabled, key,
|
||||
XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF],
|
||||
|
|
Loading…
Add table
Reference in a new issue