summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mark Bell <jmb@netsurf-browser.org>2009-05-13 01:45:51 +0000
committerJohn Mark Bell <jmb@netsurf-browser.org>2009-05-13 01:45:51 +0000
commit6c62d6d24635134c542ee10a3fba6f30879bfe64 (patch)
tree20329dd928d7a4f2bf04ece7eb3d2650e54ef53c
parenta5214e93d6ae57287c9da07e199948b5be9f00ce (diff)
downloadttf2f-6c62d6d24635134c542ee10a3fba6f30879bfe64.tar.gz
ttf2f-6c62d6d24635134c542ee10a3fba6f30879bfe64.tar.bz2
Fix quit menu entry properly -- it helps to use the correct constant.
svn path=/trunk/tools/ttf2f/; revision=7493
-rw-r--r--!TTF2f/Res,faebin1644 -> 1644 bytes
-rw-r--r--src/toolbox.c4
2 files changed, 2 insertions, 2 deletions
diff --git a/!TTF2f/Res,fae b/!TTF2f/Res,fae
index d70b2d1..59ed01a 100644
--- a/!TTF2f/Res,fae
+++ b/!TTF2f/Res,fae
Binary files 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");