From c40fc354b3783502ce0c9be1629380acb10c0570 Mon Sep 17 00:00:00 2001 From: John Tytgat Date: Tue, 5 Aug 2008 01:23:04 +0000 Subject: - Teached ro_gui_set_icon_string() and ro_gui_get_icon_string() about the difference between direct and indirect icons. - ro_gui_get_icon_string(): - Constify return value of ro_gui_get_icon_string() as you really shouldn't change its contents via this pointer. - Enfore NUL string termination as return value (instead of other control char termination) - Merged ro_gui_set_icon_string_le() into ro_gui_set_icon_string() by adding ro_gui_set_icon_string() and extra to_utf8 parameter. - ro_gui_strncmp(): added svn path=/trunk/netsurf/; revision=4907 --- riscos/history.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'riscos/history.c') diff --git a/riscos/history.c b/riscos/history.c index 303a60473..4fbc2f1f4 100644 --- a/riscos/history.c +++ b/riscos/history.c @@ -223,7 +223,7 @@ void ro_gui_history_mouse_at(wimp_pointer *pointer) return; } - ro_gui_set_icon_string(dialog_tooltip, 0, url); + ro_gui_set_icon_string(dialog_tooltip, 0, url, true); /* resize icon appropriately */ ic.w = dialog_tooltip; -- cgit v1.2.3