From 1a1901d19b07ea265840962877b34b1205f6b092 Mon Sep 17 00:00:00 2001 From: Adrian Lees Date: Wed, 20 Jul 2005 23:27:28 +0000 Subject: [project @ 2005-07-20 23:27:27 by adrianl] 2D scrolling of text areas/frames; First cut at selection in textareas; Further text editing actions (Word left/right; Page up/down; Cut block; Delete line start/end) svn path=/import/netsurf/; revision=1812 --- riscos/search.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'riscos/search.c') diff --git a/riscos/search.c b/riscos/search.c index 16f174a45..1efa976ac 100644 --- a/riscos/search.c +++ b/riscos/search.c @@ -78,6 +78,10 @@ void ro_gui_search_prepare(struct gui_window *g) assert(g != NULL); + /* if the search dialogue is reopened over a new window, we still + need to cancel the previous search */ + ro_gui_search_end(); + search_current_window = g; ro_gui_set_icon_string(dialog_search, ICON_SEARCH_TEXT, ""); -- cgit v1.2.3