From a836591435736b1d72eced1e6f643341422a7d82 Mon Sep 17 00:00:00 2001 From: Richard Wilson Date: Thu, 13 Jul 2006 12:46:02 +0000 Subject: Add basic cookie viewer, make trees use textarea components for UTF8 editing, trim headers, fix tree redraw issues. svn path=/trunk/netsurf/; revision=2739 --- riscos/history.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'riscos/history.c') diff --git a/riscos/history.c b/riscos/history.c index ce8d5a75d..89d7d4bfc 100644 --- a/riscos/history.c +++ b/riscos/history.c @@ -71,6 +71,8 @@ void ro_gui_history_open(struct browser_window *bw, os_box box = {0, 0, 0, 0}; wimp_window_state state; os_error *error; + + assert(history); history_current = history; history_bw = bw; @@ -164,7 +166,7 @@ void ro_gui_history_mouse_at(wimp_pointer *pointer) wimp_icon_state ic; os_box box = {0, 0, 0, 0}; os_error *error; - + /* If the mouse hasn't moved, or if we don't want tooltips, exit */ if ((mouse_x == pointer->pos.x && mouse_y == pointer->pos.y) || !option_history_tooltip) -- cgit v1.2.3