From 6c62d6d24635134c542ee10a3fba6f30879bfe64 Mon Sep 17 00:00:00 2001 From: John Mark Bell Date: Wed, 13 May 2009 01:45:51 +0000 Subject: Fix quit menu entry properly -- it helps to use the correct constant. svn path=/trunk/tools/ttf2f/; revision=7493 --- !TTF2f/Res,fae | Bin 1644 -> 1644 bytes src/toolbox.c | 4 ++-- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/!TTF2f/Res,fae b/!TTF2f/Res,fae index d70b2d1..59ed01a 100644 Binary files a/!TTF2f/Res,fae and b/!TTF2f/Res,fae differ diff --git a/src/toolbox.c b/src/toolbox.c index 8d2bcb4..de62001 100644 --- a/src/toolbox.c +++ b/src/toolbox.c @@ -55,8 +55,8 @@ static ttf2f_message_list messages = { static ttf2f_message_list tbcodes = { Convert_Font, { - quit_QUIT, action_ERROR, + action_QUIT_QUIT, 0 } }; @@ -179,7 +179,7 @@ void register_toolbox_handlers(void) osbool success; success = event_register_toolbox_handler(event_ANY, - quit_QUIT, toolbox_event_quit, NULL); + action_QUIT_QUIT, toolbox_event_quit, NULL); if (success == FALSE) fprintf(stderr, "registering quit_QUIT failed\n"); -- cgit v1.2.3