aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2008-09-05 14:42:05 +0000
committerEli Zaretskii2008-09-05 14:42:05 +0000
commitdda86321947016c0614a2a7f0293d8abf5d38805 (patch)
treefa0b24a774894b28e3d05b8d2aa87b98f6b1cab5 /src
parent7ced34de28202b8dcdc3525168e8b48074b24d53 (diff)
downloademacs-dda86321947016c0614a2a7f0293d8abf5d38805.tar.gz
emacs-dda86321947016c0614a2a7f0293d8abf5d38805.zip
(single_menu_item) [!HAVE_BOXES]: Enable emulation of toggle boxes and
radio buttons on MS-DOS as well.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/menu.c4
2 files changed, 7 insertions, 2 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index ff10dd9b61e..307015eb7f9 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12008-09-05 Eli Zaretskii <eliz@gnu.org>
2
3 * menu.c (single_menu_item) [!HAVE_BOXES]: Enable emulation of
4 toggle boxes and radio buttons on MS-DOS as well.
5
12008-09-05 Kenichi Handa <handa@m17n.org> 62008-09-05 Kenichi Handa <handa@m17n.org>
2 7
3 * composite.c (autocmp_chars): Check lookback count. 8 * composite.c (autocmp_chars): Check lookback count.
diff --git a/src/menu.c b/src/menu.c
index 13deec59450..056fd77824b 100644
--- a/src/menu.c
+++ b/src/menu.c
@@ -365,7 +365,7 @@ single_menu_item (key, item, dummy, skp_v)
365 return; 365 return;
366 } 366 }
367 367
368#ifdef HAVE_X_WINDOWS 368#if defined(HAVE_X_WINDOWS) || defined(MSDOS)
369#ifndef HAVE_BOXES 369#ifndef HAVE_BOXES
370 /* Simulate radio buttons and toggle boxes by putting a prefix in 370 /* Simulate radio buttons and toggle boxes by putting a prefix in
371 front of them. */ 371 front of them. */
@@ -435,7 +435,7 @@ single_menu_item (key, item, dummy, skp_v)
435 item_string = concat2 (item_string, build_string (" >")); 435 item_string = concat2 (item_string, build_string (" >"));
436#endif 436#endif
437 437
438#endif /* HAVE_X_WINDOWS */ 438#endif /* HAVE_X_WINDOWS || MSDOS */
439 439
440 push_menu_item (item_string, enabled, key, 440 push_menu_item (item_string, enabled, key,
441 XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF], 441 XVECTOR (item_properties)->contents[ITEM_PROPERTY_DEF],