summaryrefslogtreecommitdiff
path: root/src/haikumenu.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-05-16 01:37:27 +0000
committerPo Lu <luangruo@yahoo.com>2022-05-16 01:37:27 +0000
commita57687dc0e27f72642bc1ce14ad53889e55676dc (patch)
tree0f409c529e08de8654dd329f076d62bbb2e235a7 /src/haikumenu.c
parentaf4a0d7ad67152a54ac588aa7c0557f8eefd06df (diff)
downloademacs-a57687dc0e27f72642bc1ce14ad53889e55676dc.tar.gz
Clean up Haiku code after file panel changes
* src/haiku_support.cc: * src/haiku_support.h: Stop including pthread.h and specpdl_ref. * src/haikumenu.c (run_menu_bar_help_event): Ignore invalid help events instead of aborting.
Diffstat (limited to 'src/haikumenu.c')
-rw-r--r--src/haikumenu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/haikumenu.c b/src/haikumenu.c
index 9779c34a998..57fc7fd7c36 100644
--- a/src/haikumenu.c
+++ b/src/haikumenu.c
@@ -728,7 +728,7 @@ run_menu_bar_help_event (struct frame *f, int mb_idx)
vec = f->menu_bar_vector;
if ((mb_idx + MENU_ITEMS_ITEM_HELP) >= ASIZE (vec))
- emacs_abort ();
+ return;
help = AREF (vec, mb_idx + MENU_ITEMS_ITEM_HELP);
if (STRINGP (help) || NILP (help))