summaryrefslogtreecommitdiff
path: root/riscos/gui.c
diff options
context:
space:
mode:
authorRichard Wilson <rjw@netsurf-browser.org>2004-05-14 19:59:09 +0000
committerRichard Wilson <rjw@netsurf-browser.org>2004-05-14 19:59:09 +0000
commit48ace0dd89c1be4794f1a3d430718ee8ad350bd6 (patch)
tree9494f9e2af888f1442f0aa6b3091ad6e156c58c4 /riscos/gui.c
parent2dd600802c8efd2426d55a85ac8b8bf021e11bfc (diff)
downloadnetsurf-48ace0dd89c1be4794f1a3d430718ee8ad350bd6.tar.gz
netsurf-48ace0dd89c1be4794f1a3d430718ee8ad350bd6.tar.bz2
[project @ 2004-05-14 19:59:09 by rjw]
Interactive help tokens now fall back to their base key when not available. Help menu is now fully implemented. F1 opens the help page. svn path=/import/netsurf/; revision=864
Diffstat (limited to 'riscos/gui.c')
-rw-r--r--riscos/gui.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/riscos/gui.c b/riscos/gui.c
index 6570a5f59..8cc7256bb 100644
--- a/riscos/gui.c
+++ b/riscos/gui.c
@@ -1263,15 +1263,19 @@ void ro_gui_screen_size(int *width, int *height)
}
-void ro_gui_open_help_page(void)
+/**
+ * Opens a language sensitive help page
+ *
+ * \param page the page to open
+ */
+void ro_gui_open_help_page(char *page)
{
char url[80];
- sprintf(url, "file:///%%3CNetSurf$Dir%%3E/Docs/docs_%s",
- option_language);
+ sprintf(url, "file:///%%3CNetSurf$Dir%%3E/Docs/%s_%s",
+ page, option_language);
browser_window_create(url, NULL);
}
-
/**
* Send the source of a content to a text editor.
*/