From: Eli Zaretskii Date: Fri, 5 Sep 2008 14:42:05 +0000 (+0000) Subject: (single_menu_item) [!HAVE_BOXES]: Enable emulation of toggle boxes and X-Git-Url: http://git.hcoop.net/bpt/emacs.git/commitdiff_plain/dda86321947016c0614a2a7f0293d8abf5d38805?ds=sidebyside;hp=7ced34de28202b8dcdc3525168e8b48074b24d53 (single_menu_item) [!HAVE_BOXES]: Enable emulation of toggle boxes and radio buttons on MS-DOS as well. --- diff --git a/src/ChangeLog b/src/ChangeLog index ff10dd9b61..307015eb7f 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -1,3 +1,8 @@ +2008-09-05 Eli Zaretskii + + * 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 * composite.c (autocmp_chars): Check lookback count. diff --git a/src/menu.c b/src/menu.c index 13deec5945..056fd77824 100644 --- a/src/menu.c +++ b/src/menu.c @@ -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],