From 67b91d31c5daab4bbf9b36d126c560b83d8b924b Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Tue, 22 Mar 2005 20:19:30 +0000 Subject: [project @ 2005-03-22 20:19:30 by rjw] Add specific check for 'Floating Help' for interactive help messages svn path=/import/netsurf/; revision=1572 --- riscos/help.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'riscos') diff --git a/riscos/help.c b/riscos/help.c index 70016a5be..1ee8ca8d7 100644 --- a/riscos/help.c +++ b/riscos/help.c @@ -281,11 +281,11 @@ int ro_gui_interactive_help_available() { char *end; os_t time; - /* Check if we've received a help request in the last 0.5s to test for generic + /* Check if we've received a help request in the last 1.0s to test for generic interactive help applications */ xos_read_monotonic_time(&time); - if ((help_time + 50) > time) return true; + if ((help_time + 100) > time) return true; /* Attempt to find the task 'Help' */ @@ -297,6 +297,8 @@ int ro_gui_interactive_help_available() { */ if (strncmp(task.name, "Help", 4) == 0) { if (task.name[4] < 32) return true; + } else if (strncmp(task.name, "Floating Help", 13) == 0) { + if (task.name[13] < 32) return true; } } while (context >= 0); -- cgit v1.2.3