summaryrefslogtreecommitdiff
path: root/src/haikufns.c
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2022-04-17 07:29:36 +0000
committerPo Lu <luangruo@yahoo.com>2022-04-17 08:14:06 +0000
commit38d72d8d888c4d0714b9ec783160d4e45215eb71 (patch)
treecd6ae216b59db510d89f858847b25a9bb4e21114 /src/haikufns.c
parent5a18cd8821783b9503452496eab42fa4f8b436cd (diff)
downloademacs-38d72d8d888c4d0714b9ec783160d4e45215eb71.tar.gz
Get rid of unused flags on Haiku
* src/haikufns.c (haiku_free_frame_resources): Syntax fixes. * src/haikumenu.c (set_frame_menubar, run_menu_bar_help_event): * src/haikuterm.c (haiku_read_socket): Stop setting and consulting `menu_up_to_date_p'. * src/haikuterm.h (struct haiku_output): Delete `menu_up_to_date_p'.
Diffstat (limited to 'src/haikufns.c')
-rw-r--r--src/haikufns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/haikufns.c b/src/haikufns.c
index 128831dec2a..b040e6cafaa 100644
--- a/src/haikufns.c
+++ b/src/haikufns.c
@@ -1545,7 +1545,7 @@ haiku_free_frame_resources (struct frame *f)
BWindow_quit (window);
if (FRAME_OUTPUT_DATA (f)->saved_menu_event)
- xfree (FRAME_OUTPUT_DATA (f))->saved_menu_event;
+ xfree (FRAME_OUTPUT_DATA (f)->saved_menu_event);
xfree (FRAME_OUTPUT_DATA (f));
FRAME_OUTPUT_DATA (f) = NULL;